Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008748/0.0008748, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009349/0.0009349, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9128/0.9128, allocations: 177.1 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1336/0.1336, allocations: 34.27 MB / 296.9 MB, free: 14.02 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.75e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.006834/0.006851, allocations: 10.7 MB / 390 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004982/0.01183, allocations: 3.966 MB / 394 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006007/0.01243, allocations: 79.56 kB / 394 MB, free: 8.605 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.01467, allocations: 2.624 MB / 396.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.01667, allocations: 1.971 MB / 398.6 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008712/0.01754, allocations: 0.8615 MB / 399.5 MB, free: 3.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.0205, allocations: 5.21 MB / 404.7 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.02286, allocations: 3.353 MB / 408.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.02503, allocations: 2.502 MB / 410.6 MB, free: 7.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.02715, allocations: 2.463 MB / 413 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.02746, allocations: 332 kB / 413.4 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.02851, allocations: 0.9049 MB / 414.3 MB, free: 4.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.02965, allocations: 2.065 MB / 416.3 MB, free: 2.223 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009269/0.03057, allocations: 1.308 MB / 417.6 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.03385, allocations: 4.456 MB / 422.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.03385, allocations: 0 / 422.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03385, allocations: 0 / 422.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.03388, allocations: 3.938 kB / 422.1 MB, free: 12.43 MB / 346.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.004356/0.03824, allocations: 5.013 MB / 427.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002352/0.03847, allocations: 8.031 kB / 427.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.04197, allocations: 1.57 MB / 428.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.04431, allocations: 1.91 MB / 430.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.04449, allocations: 250.7 kB / 430.8 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005714/0.04506, allocations: 328.2 kB / 431.2 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.05508, allocations: 5.915 MB / 437.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.05523, allocations: 47.58 kB / 437.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004398/0.05567, allocations: 159.9 kB / 437.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002295/0.05797, allocations: 1.705 MB / 439 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007231/0.0652, allocations: 2.516 MB / 441.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/0.09539, allocations: 45.12 MB / 486.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.09907, allocations: 2.022 MB / 488.6 MB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.0995, allocations: 404.8 kB / 489 MB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00386/0.1034, allocations: 3.808 MB / 492.8 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1034, allocations: 62.31 kB / 492.9 MB, free: 2.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 3.287e-06/0.1034, allocations: 0 / 492.9 MB, free: 2.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.173/0.2764, allocations: 5.05 MB / 498 MB, free: 113.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.2765, allocations: 205.8 kB / 498.2 MB, free: 113.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/0.2804, allocations: 3.535 MB / 0.4899 GB, free: 112.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.2804, allocations: 50.58 kB / 0.49 GB, free: 112.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.282, allocations: 3.518 MB / 0.4934 GB, free: 110.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.2824, allocations: 0.6704 MB / 0.4941 GB, free: 110.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.2835, allocations: 1.354 MB / 0.4954 GB, free: 110.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.2836, allocations: 484 kB / 0.4959 GB, free: 109.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008443/0.2844, allocations: 0.5218 MB / 0.4964 GB, free: 109.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.2869, allocations: 6.435 MB / 0.5026 GB, free: 102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004537/0.2914, allocations: 7.574 MB / 0.51 GB, free: 94.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.867e-05/0.2914, allocations: 39.44 kB / 0.5101 GB, free: 94.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.004393/0.2958, allocations: 4.846 MB / 0.5148 GB, free: 90.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.2959, allocations: 64 kB / 0.5149 GB, free: 90.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-05/0.296, allocations: 140 kB / 0.515 GB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-05/0.2961, allocations: 184 kB / 0.5152 GB, free: 90.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.2982, allocations: 1.44 MB / 0.5166 GB, free: 88.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001264/0.2983, allocations: 277.3 kB / 0.5169 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.3007, allocations: 271.7 kB / 0.5171 GB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.3009, allocations: 335.6 kB / 0.5174 GB, free: 88.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 (784): * Single equations (assignments): 781 * 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.001051/0.302, allocations: 0.6725 MB / 0.5181 GB, free: 87.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.3023, allocations: 373.8 kB / 0.5184 GB, free: 87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3025, allocations: 325.6 kB / 0.5188 GB, free: 86.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.3026, allocations: 21.53 kB / 0.5188 GB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.3026, allocations: 1.5 kB / 0.5188 GB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3026, allocations: 7.453 kB / 0.5188 GB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.3068, allocations: 4.862 MB / 0.5235 GB, free: 81.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.3068, allocations: 16 kB / 0.5236 GB, free: 81.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.3073, allocations: 263.6 kB / 0.5238 GB, free: 81.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.3073, allocations: 28 kB / 0.5238 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.3073, allocations: 47.94 kB / 0.5239 GB, free: 81.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.3073, allocations: 35.86 kB / 0.5239 GB, free: 81.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/0.3073, allocations: 27.88 kB / 0.5239 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.3085, allocations: 2.381 MB / 0.5263 GB, free: 78.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.3088, allocations: 333.6 kB / 0.5266 GB, free: 78.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.309, allocations: 51.92 kB / 0.5266 GB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.3096, allocations: 47.98 kB / 0.5267 GB, free: 78.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.3097, allocations: 150.9 kB / 0.5268 GB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.3097, allocations: 55.94 kB / 0.5269 GB, free: 78.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009063/0.3106, allocations: 1.41 MB / 0.5282 GB, free: 76.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3106, allocations: 0 / 0.5282 GB, free: 76.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002486/0.3131, allocations: 0.9804 MB / 0.5292 GB, free: 75.85 MB / 410.7 MB 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 (142): * Single equations (assignments): 139 * 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.0002754/0.3134, allocations: 214.6 kB / 0.5294 GB, free: 75.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.3154, allocations: 2.49 MB / 0.5318 GB, free: 73.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.3154, allocations: 4 kB / 0.5318 GB, free: 73.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.3157, allocations: 434.3 kB / 0.5323 GB, free: 72.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.317, allocations: 429.9 kB / 0.5327 GB, free: 72.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.3247, allocations: 7.669 MB / 0.5402 GB, free: 64.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.3255, allocations: 1.199 MB / 0.5413 GB, free: 63.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009694/0.3265, allocations: 0.5063 MB / 0.5418 GB, free: 62.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.3271, allocations: 0.5957 MB / 0.5424 GB, free: 61.98 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3271, allocations: 0 / 0.5424 GB, free: 61.98 MB / 410.7 MB Notification: Performance of Templates: time 0.03595/0.363, allocations: 25.28 MB / 0.5671 GB, free: 37.23 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.157257729675621]