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.001231/0.001231, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001215/0.001215, allocations: 170.9 kB / 24.82 MB, free: 8.926 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 1.109/1.109, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2886/0.2886, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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 2.695e-06/2.695e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.767e-05/4.037e-05, allocations: 5.406 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009815/0.009855, allocations: 10.71 MB / 389.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009638/0.01949, allocations: 3.956 MB / 393.2 MB, free: 3.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.02183, allocations: 79.56 kB / 393.3 MB, free: 3.574 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.02522, allocations: 2.624 MB / 395.9 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.02995, allocations: 1.967 MB / 397.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.03158, allocations: 0.8654 MB / 398.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006367/0.03795, allocations: 5.207 MB / 403.9 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005509/0.04346, allocations: 3.369 MB / 407.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006587/0.05004, allocations: 2.499 MB / 409.8 MB, free: 2.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.05495, allocations: 2.463 MB / 412.3 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.05634, allocations: 332 kB / 412.6 MB, free: 172 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.059, allocations: 0.9089 MB / 413.5 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002542/0.06155, allocations: 2.057 MB / 415.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.06412, allocations: 1.308 MB / 416.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006324/0.07045, allocations: 4.46 MB / 421.3 MB, free: 7.406 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.07045, allocations: 0 / 421.3 MB, free: 7.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.07045, allocations: 0 / 421.3 MB, free: 7.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002328/0.07069, allocations: 0 / 421.3 MB, free: 7.406 MB / 394.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.0079/0.07859, allocations: 5.013 MB / 426.3 MB, free: 2.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.07865, allocations: 8.031 kB / 426.3 MB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.08342, allocations: 1.567 MB / 427.9 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/0.08698, allocations: 1.91 MB / 429.8 MB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.08718, allocations: 250.7 kB / 430.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005855/0.08776, allocations: 324.2 kB / 430.4 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.09907, allocations: 5.919 MB / 436.3 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.09922, allocations: 47.58 kB / 436.3 MB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003924/0.09961, allocations: 163.8 kB / 436.5 MB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.1017, allocations: 1.701 MB / 438.2 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007429/0.1091, allocations: 2.527 MB / 440.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2329/0.342, allocations: 45.1 MB / 485.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/0.3457, allocations: 2.018 MB / 487.8 MB, free: 53.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.3462, allocations: 412.1 kB / 488.2 MB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005607/0.3518, allocations: 3.818 MB / 492.1 MB, free: 51.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.3518, allocations: 48.8 kB / 492.1 MB, free: 51.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 5.33e-06/0.3518, allocations: 0 / 492.1 MB, free: 51.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01188/0.3637, allocations: 5.069 MB / 497.2 MB, free: 50.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.3638, allocations: 196.8 kB / 497.4 MB, free: 49.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.3672, allocations: 3.536 MB / 0.4892 GB, free: 48.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3673, allocations: 47.73 kB / 0.4892 GB, free: 48.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.3689, allocations: 3.527 MB / 0.4927 GB, free: 46.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006093/0.3695, allocations: 0.6732 MB / 0.4933 GB, free: 45.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.3707, allocations: 1.351 MB / 0.4946 GB, free: 44.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.3707, allocations: 479.6 kB / 0.4951 GB, free: 44.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/0.3717, allocations: 0.5242 MB / 0.4956 GB, free: 44.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/0.3754, allocations: 6.434 MB / 0.5019 GB, free: 36.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005901/0.3813, allocations: 7.578 MB / 0.5093 GB, free: 27.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001922/0.3815, allocations: 39.31 kB / 0.5093 GB, free: 27.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.00806/0.3896, allocations: 4.836 MB / 0.514 GB, free: 25.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.3897, allocations: 67.25 kB / 0.5141 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/0.3899, allocations: 140.5 kB / 0.5142 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.3901, allocations: 183.9 kB / 0.5144 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/0.393, allocations: 1.435 MB / 0.5158 GB, free: 25.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002163/0.3932, allocations: 272 kB / 0.5161 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/0.3968, allocations: 279.7 kB / 0.5164 GB, free: 25.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/0.3973, allocations: 333.1 kB / 0.5167 GB, free: 25.33 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.001686/0.3989, allocations: 0.6804 MB / 0.5173 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006897/0.3996, allocations: 374.2 kB / 0.5177 GB, free: 24.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.4, allocations: 319 kB / 0.518 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.4, allocations: 22.22 kB / 0.518 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/0.4, allocations: 0 / 0.518 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4001, allocations: 10.48 kB / 0.518 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/0.4064, allocations: 4.853 MB / 0.5228 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.4064, allocations: 24.22 kB / 0.5228 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.407, allocations: 260.9 kB / 0.523 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/0.407, allocations: 26.38 kB / 0.5231 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.4071, allocations: 51.12 kB / 0.5231 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.4071, allocations: 35.16 kB / 0.5231 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.4071, allocations: 37.03 kB / 0.5232 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.4091, allocations: 2.37 MB / 0.5255 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.4097, allocations: 343.8 kB / 0.5258 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/0.4099, allocations: 44.84 kB / 0.5259 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/0.4106, allocations: 46.09 kB / 0.5259 GB, free: 19.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.4108, allocations: 147.8 kB / 0.526 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.4109, allocations: 53.56 kB / 0.5261 GB, free: 19.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00157/0.4124, allocations: 1.414 MB / 0.5275 GB, free: 18.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4124, allocations: 0 / 0.5275 GB, free: 18.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004628/0.4171, allocations: 0.9854 MB / 0.5284 GB, free: 17.44 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.0004019/0.4175, allocations: 209.2 kB / 0.5286 GB, free: 17.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003909/0.4214, allocations: 2.497 MB / 0.5311 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.4214, allocations: 4.562 kB / 0.5311 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.4219, allocations: 433.6 kB / 0.5315 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.4239, allocations: 427.7 kB / 0.5319 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.436, allocations: 7.663 MB / 0.5394 GB, free: 6.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.438, allocations: 1.189 MB / 0.5406 GB, free: 5.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002413/0.4404, allocations: 0.4987 MB / 0.541 GB, free: 5.582 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.4417, allocations: 0.6014 MB / 0.5416 GB, free: 5.027 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.4417, allocations: 0 / 0.5416 GB, free: 5.027 MB / 410.7 MB Notification: Performance of Templates: time 0.04358/0.4853, allocations: 24.73 MB / 0.5658 GB, free: 14.52 MB / 442.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.337718762923032]