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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001628/0.002765, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009673/0.001939, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8888/0.8888, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1746/1.063, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.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.1302/0.1302, allocations: 32.79 MB / 272 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02126/0.1515, allocations: 12.54 MB / 284.5 MB, free: 9.691 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.513e-06/1.513e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.837e-05, allocations: 2.312 kB / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008229/0.008248, allocations: 10.87 MB / 296.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006565/0.01481, allocations: 4.118 MB / 300.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/0.01579, allocations: 83.62 kB / 300.9 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.01813, allocations: 2.538 MB / 303.5 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.02067, allocations: 1.967 MB / 305.4 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.02164, allocations: 0.7875 MB / 306.2 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.02502, allocations: 4.846 MB / 311.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.02736, allocations: 2.968 MB / 314 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.02965, allocations: 2.599 MB / 316.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.03162, allocations: 2.338 MB / 319 MB, free: 7.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.03201, allocations: 335.9 kB / 319.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.03329, allocations: 0.9558 MB / 320.3 MB, free: 5.809 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.03435, allocations: 1.851 MB / 322.1 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008639/0.03522, allocations: 1.071 MB / 323.2 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1502/0.1854, allocations: 4.206 MB / 327.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.1854, allocations: 0 / 327.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1854, allocations: 0 / 327.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002307/0.1856, allocations: 0 / 327.4 MB, free: 12.47 MB / 314.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.007017/0.1926, allocations: 5.37 MB / 332.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.1927, allocations: 11.91 kB / 332.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.1956, allocations: 1.216 MB / 334 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.1976, allocations: 1.77 MB / 335.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.1977, allocations: 251.5 kB / 336 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.198, allocations: 330 kB / 336.3 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/0.2034, allocations: 5.234 MB / 341.6 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.382e-05/0.2035, allocations: 47.86 kB / 341.6 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.2038, allocations: 160.5 kB / 341.8 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001224/0.205, allocations: 1.606 MB / 343.4 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003887/0.2089, allocations: 2.526 MB / 345.9 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01903/0.2279, allocations: 32.15 MB / 378 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.2309, allocations: 1.836 MB / 379.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.2312, allocations: 333.8 kB / 380.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003592/0.2348, allocations: 3.46 MB / 383.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2349, allocations: 51.31 kB / 383.7 MB, free: 6.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=145): time 2.395e-06/0.2349, allocations: 4 kB / 383.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=157): time 0.007935/0.2428, allocations: 4.426 MB / 388.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.2429, allocations: 149.4 kB / 388.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.2452, allocations: 3.193 MB / 391.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.2453, allocations: 45.7 kB / 391.5 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.2467, allocations: 3.161 MB / 394.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.2471, allocations: 0.647 MB / 395.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008857/0.248, allocations: 1.171 MB / 396.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.248, allocations: 305.1 kB / 396.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009552/0.249, allocations: 0.7002 MB / 397.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.2516, allocations: 4.561 MB / 402.1 MB, free: 2.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/0.256, allocations: 6.242 MB / 408.3 MB, free: 11.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.679e-05/0.256, allocations: 43.94 kB / 408.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.0039/0.2599, allocations: 4.12 MB / 412.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.26, allocations: 64 kB / 412.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.2601, allocations: 144 kB / 412.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/0.2602, allocations: 184.8 kB / 412.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/0.2626, allocations: 1.603 MB / 414.5 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000126/0.2627, allocations: 274.9 kB / 414.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.2646, allocations: 271.7 kB / 415 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.2648, allocations: 339 kB / 415.3 MB, free: 4.168 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.0009919/0.2658, allocations: 0.6339 MB / 416 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.2661, allocations: 211.8 kB / 416.2 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.2667, allocations: 0.6479 MB / 416.8 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.2668, allocations: 15.98 kB / 416.8 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2668, allocations: 4 kB / 416.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2668, allocations: 3.984 kB / 416.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.2706, allocations: 4.058 MB / 420.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.2706, allocations: 24 kB / 420.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/0.2711, allocations: 295.5 kB / 421.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.2714, allocations: 329.5 kB / 421.5 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.2714, allocations: 24 kB / 421.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.2715, allocations: 55.34 kB / 421.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/0.2715, allocations: 39.86 kB / 421.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.2715, allocations: 23.88 kB / 421.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2727, allocations: 1.906 MB / 423.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.2729, allocations: 55.92 kB / 423.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005556/0.2734, allocations: 40 kB / 423.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2735, allocations: 151.3 kB / 423.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.2736, allocations: 52 kB / 423.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001003/0.2746, allocations: 1.329 MB / 425.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2746, allocations: 0 / 425.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002472/0.2771, allocations: 1.008 MB / 426.2 MB, free: 9.531 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.000322/0.2774, allocations: 202.9 kB / 426.4 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.2793, allocations: 2.456 MB / 428.9 MB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001605/0.2795, allocations: 108.1 kB / 429 MB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.2799, allocations: 490.4 kB / 429.4 MB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.2821, allocations: 2.869 MB / 432.3 MB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008901/0.291, allocations: 7.838 MB / 440.1 MB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009844/0.292, allocations: 1.188 MB / 441.3 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009895/0.293, allocations: 0.496 MB / 441.8 MB, free: 9.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/0.2936, allocations: 0.5329 MB / 442.4 MB, free: 9.031 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2936, allocations: 0 / 442.4 MB, free: 9.031 MB / 410.7 MB Notification: Performance of Templates: time 0.03754/0.3311, allocations: 24.08 MB / 466.4 MB, free: 1.18 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.397455397993326]