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.002458/0.002458, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002469/0.002469, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.494/1.494, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3728/0.3728, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.833e-06/1.833e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.633e-05, allocations: 6.25 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.02162/0.02165, allocations: 9.945 MB / 387.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.03614, allocations: 3.878 MB / 391.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.0384, allocations: 79.56 kB / 391.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008377/0.04678, allocations: 2.589 MB / 393.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008112/0.05489, allocations: 1.967 MB / 395.8 MB, free: 396 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.05798, allocations: 0.8577 MB / 396.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.06928, allocations: 5.199 MB / 401.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007764/0.07704, allocations: 3.369 MB / 405.2 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006475/0.08352, allocations: 2.428 MB / 407.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004715/0.08823, allocations: 2.502 MB / 410.1 MB, free: 1.961 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.08947, allocations: 340 kB / 410.4 MB, free: 1.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.09215, allocations: 0.9166 MB / 411.4 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00328/0.09543, allocations: 2.057 MB / 413.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003379/0.09881, allocations: 1.316 MB / 414.7 MB, free: 13.33 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.1098, allocations: 6.876 MB / 421.6 MB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1098, allocations: 0 / 421.6 MB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1098, allocations: 0 / 421.6 MB, free: 6.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002282/0.1101, allocations: 0 / 421.6 MB, free: 6.43 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.01161/0.1217, allocations: 4.907 MB / 426.5 MB, free: 1.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1217, allocations: 12.03 kB / 426.5 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009595/0.1313, allocations: 2.615 MB / 429.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/0.1381, allocations: 2.28 MB / 431.4 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002884/0.1384, allocations: 246.7 kB / 431.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009559/0.1394, allocations: 328.2 kB / 432 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.161, allocations: 10.36 MB / 442.3 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.1612, allocations: 47.64 kB / 442.4 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004699/0.1616, allocations: 159.8 kB / 442.5 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1848/0.3464, allocations: 1.903 MB / 444.4 MB, free: 96.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/0.3615, allocations: 8.176 MB / 452.6 MB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03743/0.3989, allocations: 37.02 MB / 489.7 MB, free: 67.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007681/0.4066, allocations: 2.86 MB / 492.5 MB, free: 66.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.408, allocations: 0.9596 MB / 493.5 MB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008198/0.4162, allocations: 4.419 MB / 497.9 MB, free: 64.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4163, allocations: 51.56 kB / 497.9 MB, free: 64.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 4.499e-06/0.4163, allocations: 0 / 497.9 MB, free: 64.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.02179/0.4381, allocations: 10.03 MB / 0.4961 GB, free: 59.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.4381, allocations: 201.4 kB / 0.4963 GB, free: 59.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.4435, allocations: 3.945 MB / 0.5001 GB, free: 55.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002845/0.4438, allocations: 49.64 kB / 0.5002 GB, free: 55.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001731/0.4455, allocations: 3.3 MB / 0.5034 GB, free: 52.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005988/0.4461, allocations: 0.6573 MB / 0.504 GB, free: 52.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.4474, allocations: 1.204 MB / 0.5052 GB, free: 51.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.4475, allocations: 301.9 kB / 0.5055 GB, free: 50.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.4501, allocations: 1.679 MB / 0.5071 GB, free: 49.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003907/0.454, allocations: 5.608 MB / 0.5126 GB, free: 42.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006173/0.4602, allocations: 7.818 MB / 0.5202 GB, free: 32.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.778e-05/0.4603, allocations: 44 kB / 0.5203 GB, free: 32.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.009422/0.4697, allocations: 7.274 MB / 0.5274 GB, free: 25.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.4697, allocations: 64 kB / 0.5274 GB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.4698, allocations: 140 kB / 0.5276 GB, free: 25.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.47, allocations: 184 kB / 0.5278 GB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003643/0.4736, allocations: 1.458 MB / 0.5292 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001386/0.4738, allocations: 267 kB / 0.5294 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.4778, allocations: 403.1 kB / 0.5298 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.4782, allocations: 380 kB / 0.5302 GB, free: 23.09 MB / 410.7 MB 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.002231/0.4804, allocations: 2.029 MB / 0.5322 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006065/0.481, allocations: 377.7 kB / 0.5325 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.4816, allocations: 378.6 kB / 0.5329 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.4816, allocations: 16 kB / 0.5329 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/0.4816, allocations: 4 kB / 0.5329 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.4816, allocations: 3.984 kB / 0.5329 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.488, allocations: 4.757 MB / 0.5375 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.4881, allocations: 16 kB / 0.5376 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.489, allocations: 280.4 kB / 0.5378 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/0.489, allocations: 27.98 kB / 0.5379 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.4891, allocations: 56 kB / 0.5379 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/0.4891, allocations: 35.86 kB / 0.5379 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/0.4891, allocations: 31.81 kB / 0.538 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.4922, allocations: 3.281 MB / 0.5412 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000854/0.4931, allocations: 345.7 kB / 0.5415 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.4934, allocations: 55.8 kB / 0.5416 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.4946, allocations: 119.8 kB / 0.5417 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4948, allocations: 151.3 kB / 0.5418 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.4949, allocations: 67.44 kB / 0.5419 GB, free: 10.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002787/0.4976, allocations: 2.284 MB / 0.5441 GB, free: 8.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4976, allocations: 0 / 0.5441 GB, free: 8.324 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004765/0.5024, allocations: 0.9764 MB / 0.5451 GB, free: 7.348 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 (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.000413/0.5028, allocations: 218.5 kB / 0.5453 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005436/0.5083, allocations: 3.706 MB / 0.5489 GB, free: 3.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.557e-05/0.5083, allocations: 4 kB / 0.5489 GB, free: 3.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.5092, allocations: 0.7071 MB / 0.5496 GB, free: 2.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.5119, allocations: 441.5 kB / 0.55 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.5298, allocations: 8.828 MB / 0.5586 GB, free: 9.199 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00599/0.5358, allocations: 2.633 MB / 0.5612 GB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005207/0.541, allocations: 1.782 MB / 0.5629 GB, free: 4.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/0.5419, allocations: 232.5 kB / 0.5632 GB, free: 4.516 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5419, allocations: 0 / 0.5632 GB, free: 4.516 MB / 426.7 MB Notification: Performance of Templates: time 0.05785/0.5997, allocations: 21.89 MB / 0.5845 GB, free: 15.21 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.665938321035355]