Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000876/0.000876, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001207/0.002083, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001092/0.001092, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002545, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.863/0.863, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1654/1.028, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1368/0.1368, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02674/0.1635, allocations: 12.32 MB / 266.1 MB, free: 3.867 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.124e-05/4.352e-05, allocations: 6.25 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01445/0.0145, allocations: 10.9 MB / 278.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009869/0.02437, allocations: 4.135 MB / 282.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.02574, allocations: 79.62 kB / 282.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.0285, allocations: 2.542 MB / 285.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1482/0.1767, allocations: 1.966 MB / 287 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.1783, allocations: 0.798 MB / 287.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005569/0.1838, allocations: 4.855 MB / 292.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/0.1873, allocations: 2.994 MB / 295.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.1909, allocations: 2.628 MB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.1937, allocations: 2.356 MB / 300.7 MB, free: 16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006534/0.1944, allocations: 337.5 kB / 301 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.1958, allocations: 0.9458 MB / 301.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.1969, allocations: 1.859 MB / 303.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008797/0.1978, allocations: 1.074 MB / 304.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.2009, allocations: 4.213 MB / 309.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.201, allocations: 1.031 kB / 309.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.201, allocations: 0 / 309.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.2011, allocations: 0 / 309.1 MB, free: 11.41 MB / 298.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.004875/0.2059, allocations: 5.396 MB / 314.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.206, allocations: 8.031 kB / 314.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.2087, allocations: 1.216 MB / 315.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.2106, allocations: 1.817 MB / 317.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.2108, allocations: 247.1 kB / 317.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.2111, allocations: 328.6 kB / 318.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005045/0.2161, allocations: 5.237 MB / 323.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.2162, allocations: 48.23 kB / 323.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.2165, allocations: 161.2 kB / 323.5 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001385/0.2178, allocations: 1.605 MB / 325.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004274/0.2221, allocations: 2.516 MB / 327.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.2439, allocations: 32.15 MB / 359.8 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.2472, allocations: 1.846 MB / 361.6 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.2475, allocations: 322.2 kB / 362 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003653/0.2512, allocations: 3.477 MB / 365.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.2512, allocations: 55.03 kB / 365.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=145): time 3.086e-06/0.2512, allocations: 0 / 365.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=157): time 0.008854/0.2601, allocations: 4.462 MB / 369.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.2602, allocations: 145 kB / 370.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.2625, allocations: 3.215 MB / 373.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.2626, allocations: 49.7 kB / 373.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.2639, allocations: 3.163 MB / 376.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.2643, allocations: 0.6498 MB / 377.2 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009163/0.2652, allocations: 1.168 MB / 378.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.2653, allocations: 301.1 kB / 378.6 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009335/0.2662, allocations: 0.7002 MB / 379.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/0.2692, allocations: 4.563 MB / 383.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/0.2735, allocations: 6.234 MB / 390.1 MB, free: 7.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.895e-05/0.2735, allocations: 43.94 kB / 390.2 MB, free: 7.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.004115/0.2777, allocations: 4.127 MB / 394.3 MB, free: 3.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.2777, allocations: 64 kB / 394.4 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.2778, allocations: 144 kB / 394.5 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001083/0.2779, allocations: 188 kB / 394.7 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.2803, allocations: 1.595 MB / 396.3 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.2805, allocations: 276.6 kB / 396.5 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.2824, allocations: 279.7 kB / 396.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.2827, allocations: 332 kB / 397.1 MB, free: 0.7109 MB / 378.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.001014/0.2837, allocations: 0.6377 MB / 397.8 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.2839, allocations: 211.8 kB / 398 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007223/0.2847, allocations: 0.6518 MB / 398.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.2847, allocations: 16 kB / 398.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2847, allocations: 4.875 kB / 398.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.2847, allocations: 3.984 kB / 398.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.289, allocations: 4.067 MB / 402.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/0.2891, allocations: 24 kB / 402.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.2896, allocations: 296.3 kB / 403 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.2901, allocations: 409.4 kB / 403.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.2901, allocations: 28 kB / 403.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.2901, allocations: 51.98 kB / 403.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/0.2901, allocations: 35.86 kB / 403.6 MB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/0.2902, allocations: 27.88 kB / 403.6 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.2914, allocations: 1.897 MB / 405.5 MB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.2916, allocations: 51.92 kB / 405.5 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.2922, allocations: 51.91 kB / 405.6 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2923, allocations: 151.4 kB / 405.7 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003735/0.2926, allocations: 52 kB / 405.8 MB, free: 7.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001035/0.2937, allocations: 1.337 MB / 407.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2937, allocations: 0 / 407.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002693/0.2964, allocations: 1.012 MB / 408.1 MB, free: 5.172 MB / 394.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.0003522/0.2967, allocations: 215.3 kB / 408.3 MB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.2991, allocations: 2.446 MB / 410.8 MB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001733/0.2992, allocations: 104.2 kB / 410.9 MB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.2997, allocations: 490 kB / 411.4 MB, free: 1.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.303, allocations: 2.889 MB / 414.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.3152, allocations: 7.874 MB / 422.1 MB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.3165, allocations: 1.193 MB / 423.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001443/0.3179, allocations: 0.496 MB / 423.8 MB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008362/0.3187, allocations: 0.5324 MB / 424.4 MB, free: 4.207 MB / 410.7 MB Notification: Performance of SimCode: time 1.562e-06/0.3187, allocations: 0 / 424.4 MB, free: 4.207 MB / 410.7 MB Notification: Performance of Templates: time 0.1764/0.4952, allocations: 24.49 MB / 448.8 MB, free: 132.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6245032949373126]