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.0009553/0.0009553, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0008975/0.0008975, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9523/0.9523, allocations: 177.1 MB / 205 MB, free: 5.617 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.299/0.299, allocations: 32.8 MB / 294.3 MB, free: 1.203 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 2.514e-06/2.514e-06, allocations: 0 / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.357e-05/4.609e-05, allocations: 5.406 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01061/0.01065, allocations: 10.98 MB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008601/0.01925, allocations: 3.987 MB / 391 MB, free: 5.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.02202, allocations: 79.62 kB / 391.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.02603, allocations: 2.671 MB / 393.7 MB, free: 2.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00464/0.03067, allocations: 1.971 MB / 395.7 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.03209, allocations: 0.8577 MB / 396.6 MB, free: 0 / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006588/0.03868, allocations: 5.211 MB / 401.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005065/0.04374, allocations: 3.369 MB / 405.2 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006126/0.04987, allocations: 2.506 MB / 407.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004707/0.05457, allocations: 2.467 MB / 410.1 MB, free: 2.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.05586, allocations: 332 kB / 410.5 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.05769, allocations: 0.9128 MB / 411.4 MB, free: 1.141 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.05938, allocations: 2.049 MB / 413.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.06139, allocations: 1.316 MB / 414.7 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004962/0.06635, allocations: 4.456 MB / 419.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.06636, allocations: 0 / 419.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06636, allocations: 0 / 419.2 MB, free: 9.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.06651, allocations: 0 / 419.2 MB, free: 9.289 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.008452/0.07496, allocations: 5.213 MB / 424.4 MB, free: 4.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.07501, allocations: 8.031 kB / 424.4 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/0.08066, allocations: 2.522 MB / 426.9 MB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/0.08457, allocations: 2.082 MB / 429 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.0848, allocations: 254.6 kB / 429.3 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008857/0.08569, allocations: 328.1 kB / 429.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009926/0.09562, allocations: 6.568 MB / 436.2 MB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-05/0.09572, allocations: 47.64 kB / 436.2 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/0.09602, allocations: 159.9 kB / 436.4 MB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001671/0.09769, allocations: 1.908 MB / 438.3 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009734/0.1074, allocations: 3.279 MB / 441.5 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2214/0.3288, allocations: 45.49 MB / 487 MB, free: 54.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004671/0.3335, allocations: 2.101 MB / 489.1 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008544/0.3343, allocations: 477.7 kB / 489.6 MB, free: 54.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005125/0.3394, allocations: 3.929 MB / 493.5 MB, free: 52.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3395, allocations: 51.83 kB / 493.6 MB, free: 52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 5.019e-06/0.3395, allocations: 0 / 493.6 MB, free: 52 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.01581/0.3553, allocations: 8.007 MB / 0.4898 GB, free: 48.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.3554, allocations: 202.5 kB / 0.49 GB, free: 48.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004301/0.3597, allocations: 3.553 MB / 0.4935 GB, free: 46.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002908/0.36, allocations: 47.2 kB / 0.4935 GB, free: 46.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002118/0.3621, allocations: 3.493 MB / 0.497 GB, free: 44.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008351/0.3629, allocations: 0.6689 MB / 0.4976 GB, free: 43.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/0.3645, allocations: 1.331 MB / 0.4989 GB, free: 43.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.3645, allocations: 477.9 kB / 0.4994 GB, free: 42.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.3659, allocations: 0.5837 MB / 0.4999 GB, free: 42.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003716/0.3696, allocations: 6.46 MB / 0.5062 GB, free: 34.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006333/0.376, allocations: 7.714 MB / 0.5138 GB, free: 25.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002426/0.3762, allocations: 40.62 kB / 0.5138 GB, free: 25.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01064/0.3868, allocations: 5.178 MB / 0.5189 GB, free: 23.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/0.3869, allocations: 65.06 kB / 0.5189 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/0.3871, allocations: 139.9 kB / 0.5191 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.3873, allocations: 183.8 kB / 0.5192 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/0.3907, allocations: 1.453 MB / 0.5207 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002127/0.3909, allocations: 272.1 kB / 0.5209 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005204/0.3961, allocations: 384 kB / 0.5213 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009595/0.3971, allocations: 380 kB / 0.5216 GB, free: 23.41 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.001945/0.399, allocations: 0.677 MB / 0.5223 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008735/0.3999, allocations: 374.4 kB / 0.5227 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.4003, allocations: 320.4 kB / 0.523 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.4003, allocations: 20.72 kB / 0.523 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/0.4004, allocations: 0 / 0.523 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4004, allocations: 10.23 kB / 0.523 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/0.4073, allocations: 4.889 MB / 0.5278 GB, free: 19.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.4073, allocations: 16 kB / 0.5278 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.4079, allocations: 277.4 kB / 0.5281 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/0.408, allocations: 24 kB / 0.5281 GB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.408, allocations: 57.8 kB / 0.5281 GB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.4081, allocations: 37.78 kB / 0.5282 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.4081, allocations: 27.88 kB / 0.5282 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.4103, allocations: 2.464 MB / 0.5306 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006355/0.4109, allocations: 340.9 kB / 0.5309 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.4112, allocations: 49.72 kB / 0.531 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/0.4119, allocations: 101.1 kB / 0.5311 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.4121, allocations: 152.7 kB / 0.5312 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.4121, allocations: 61.92 kB / 0.5313 GB, free: 15.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001852/0.414, allocations: 1.517 MB / 0.5328 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.414, allocations: 0 / 0.5328 GB, free: 14.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004287/0.4182, allocations: 0.9855 MB / 0.5337 GB, free: 13.25 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.0004132/0.4187, allocations: 211.3 kB / 0.5339 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004233/0.4229, allocations: 2.648 MB / 0.5365 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/0.4229, allocations: 0 / 0.5365 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.4234, allocations: 457.9 kB / 0.5369 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.4257, allocations: 434.2 kB / 0.5374 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.4383, allocations: 7.683 MB / 0.5449 GB, free: 2.449 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.4402, allocations: 1.189 MB / 0.546 GB, free: 1.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002735/0.4429, allocations: 1.568 MB / 0.5476 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.4434, allocations: 240.7 kB / 0.5478 GB, free: 464 kB / 410.7 MB Notification: Performance of SimCode: time 3.186e-06/0.4434, allocations: 0 / 0.5478 GB, free: 464 kB / 410.7 MB Notification: Performance of Templates: time 0.04279/0.4862, allocations: 22.89 MB / 0.5701 GB, free: 11.53 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] 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","",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.301979168783873]