Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005752/0.005752, allocations: 163.5 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8938/0.8938, allocations: 177.1 MB / 205 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 440.8 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.34e-05, allocations: 2.281 kB / 440.8 MB, free: 3.715 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2102/0.2102, allocations: 9.941 MB / 450.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004483/0.2147, allocations: 3.888 MB / 454.7 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005739/0.2152, allocations: 81.12 kB / 454.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.2176, allocations: 2.551 MB / 457.3 MB, free: 37.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.2194, allocations: 1.952 MB / 459.3 MB, free: 36.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.2203, allocations: 0.8428 MB / 460.1 MB, free: 36.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003431/0.2237, allocations: 5.211 MB / 465.3 MB, free: 34.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.2258, allocations: 3.266 MB / 468.6 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.2274, allocations: 2.425 MB / 471 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.229, allocations: 2.506 MB / 473.5 MB, free: 31.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.2292, allocations: 339.7 kB / 473.8 MB, free: 31.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009219/0.2302, allocations: 0.9104 MB / 474.8 MB, free: 31.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008164/0.231, allocations: 2.05 MB / 476.8 MB, free: 30.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007416/0.2317, allocations: 1.319 MB / 478.1 MB, free: 30 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0056/0.2373, allocations: 6.876 MB / 485 MB, free: 27.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2373, allocations: 0 / 485 MB, free: 27.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2373, allocations: 0 / 485 MB, free: 27.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000124/0.2375, allocations: 4.938 kB / 485 MB, free: 27.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.006991/0.2445, allocations: 4.907 MB / 489.9 MB, free: 24.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.2445, allocations: 14.42 kB / 489.9 MB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.2493, allocations: 2.022 MB / 491.9 MB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.2527, allocations: 2.248 MB / 494.2 MB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.2529, allocations: 256.5 kB / 494.4 MB, free: 23.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.2533, allocations: 332.1 kB / 494.8 MB, free: 23.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.2652, allocations: 10.35 MB / 0.4933 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.28e-05/0.2653, allocations: 47.27 kB / 0.4933 GB, free: 17.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.2656, allocations: 160 kB / 0.4935 GB, free: 17.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001819/0.2674, allocations: 1.906 MB / 0.4953 GB, free: 16.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008764/0.2762, allocations: 8.168 MB / 0.5033 GB, free: 9.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02816/0.3043, allocations: 36.96 MB / 0.5394 GB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/0.3093, allocations: 2.853 MB / 0.5422 GB, free: 16 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009471/0.3102, allocations: 0.9607 MB / 0.5431 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005194/0.3154, allocations: 4.42 MB / 0.5474 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.3154, allocations: 51.55 kB / 0.5475 GB, free: 10.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 3.296e-06/0.3154, allocations: 0 / 0.5475 GB, free: 10.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01424/0.3297, allocations: 9.973 MB / 0.5572 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.3298, allocations: 200.9 kB / 0.5574 GB, free: 276 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/0.3334, allocations: 3.944 MB / 0.5613 GB, free: 12.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.3335, allocations: 49.98 kB / 0.5613 GB, free: 12.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.3351, allocations: 3.304 MB / 0.5645 GB, free: 8.934 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.3354, allocations: 0.6591 MB / 0.5652 GB, free: 8.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009947/0.3364, allocations: 1.207 MB / 0.5664 GB, free: 7.051 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.3365, allocations: 301.1 kB / 0.5667 GB, free: 6.754 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.3381, allocations: 1.663 MB / 0.5683 GB, free: 5.086 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/0.3419, allocations: 5.58 MB / 0.5737 GB, free: 13.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/0.3477, allocations: 7.803 MB / 0.5814 GB, free: 3.832 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.823e-05/0.3478, allocations: 43.94 kB / 0.5814 GB, free: 3.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.007397/0.3552, allocations: 6.901 MB / 0.5881 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.032e-05/0.3553, allocations: 64 kB / 0.5882 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-05/0.3553, allocations: 140 kB / 0.5883 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.3555, allocations: 184 kB / 0.5885 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.3577, allocations: 1.435 MB / 0.5899 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001278/0.3578, allocations: 273.1 kB / 0.5902 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.3604, allocations: 359.5 kB / 0.5905 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/0.3607, allocations: 380 kB / 0.5909 GB, free: 10.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003112/0.3639, allocations: 2.049 MB / 0.5929 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006716/0.3645, allocations: 321.8 kB / 0.5932 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.3649, allocations: 378.6 kB / 0.5935 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.3649, allocations: 16 kB / 0.5936 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.3649, allocations: 4 kB / 0.5936 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3649, allocations: 7.969 kB / 0.5936 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/0.3699, allocations: 4.747 MB / 0.5982 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.3699, allocations: 18.62 kB / 0.5982 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.3705, allocations: 283.5 kB / 0.5985 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.3705, allocations: 24 kB / 0.5985 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.3705, allocations: 51.98 kB / 0.5986 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/0.3705, allocations: 39.8 kB / 0.5986 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.3706, allocations: 27.88 kB / 0.5986 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.3732, allocations: 3.249 MB / 0.6018 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.3736, allocations: 341.7 kB / 0.6021 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.3738, allocations: 47.98 kB / 0.6022 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.3744, allocations: 107.6 kB / 0.6023 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3745, allocations: 143.5 kB / 0.6024 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.3746, allocations: 71.98 kB / 0.6025 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00203/0.3766, allocations: 2.281 MB / 0.6047 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.3766, allocations: 0 / 0.6047 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003098/0.3797, allocations: 0.9803 MB / 0.6057 GB, free: 10.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003477/0.3801, allocations: 210.6 kB / 0.6059 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00382/0.3839, allocations: 3.707 MB / 0.6095 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.3839, allocations: 4 kB / 0.6095 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.3845, allocations: 0.705 MB / 0.6102 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.3859, allocations: 416.7 kB / 0.6106 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009586/0.3955, allocations: 9.11 MB / 0.6195 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.3979, allocations: 2.633 MB / 0.622 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.3983, allocations: 284.5 kB / 0.6223 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.3983, allocations: 3.938 kB / 0.6223 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of Templates: time 0.2492/0.6475, allocations: 54.23 MB / 0.6753 GB, free: 138.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.056006252765656]