Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009257/0.0009257, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9536/0.9536, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2652/0.2652, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.323e-05, allocations: 3.016 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008219/0.008242, allocations: 10.76 MB / 336.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006351/0.01459, allocations: 4.109 MB / 340.8 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.01603, allocations: 79.56 kB / 340.9 MB, free: 8.082 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.01877, allocations: 2.627 MB / 343.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003089/0.02186, allocations: 1.94 MB / 345.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.02299, allocations: 0.8654 MB / 346.4 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00442/0.02741, allocations: 5.199 MB / 351.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/0.03013, allocations: 3.217 MB / 354.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.03258, allocations: 2.448 MB / 357.2 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.03496, allocations: 2.35 MB / 359.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004421/0.0354, allocations: 332 kB / 359.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.03662, allocations: 0.9324 MB / 360.8 MB, free: 4.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.03797, allocations: 2.049 MB / 362.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.03973, allocations: 1.316 MB / 364.2 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.04383, allocations: 4.464 MB / 368.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.04383, allocations: 0 / 368.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.04383, allocations: 0 / 368.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.72e-05/0.04393, allocations: 0 / 368.7 MB, free: 12.21 MB / 346.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.004359/0.04829, allocations: 4.461 MB / 373.1 MB, free: 7.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.04833, allocations: 12.03 kB / 373.1 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/0.05126, allocations: 1.136 MB / 374.3 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.05333, allocations: 1.785 MB / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.05346, allocations: 246.7 kB / 376.3 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000347/0.05381, allocations: 328.2 kB / 376.6 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/0.0601, allocations: 5.263 MB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.211e-05/0.06019, allocations: 47.58 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.06044, allocations: 155.9 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001442/0.06188, allocations: 1.709 MB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005058/0.06694, allocations: 2.543 MB / 386.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02619/0.09313, allocations: 32.14 MB / 418.5 MB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.09682, allocations: 1.895 MB / 420.4 MB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.09735, allocations: 326.8 kB / 420.7 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004837/0.1022, allocations: 3.492 MB / 424.2 MB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1022, allocations: 47.56 kB / 424.2 MB, free: 2.352 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 3.707e-06/0.1022, allocations: 4 kB / 424.2 MB, free: 2.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.009163/0.1114, allocations: 4.481 MB / 428.7 MB, free: 13.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.1115, allocations: 192.9 kB / 428.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.1139, allocations: 3.177 MB / 432.1 MB, free: 10.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.114, allocations: 53.62 kB / 432.1 MB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.1152, allocations: 3.153 MB / 435.3 MB, free: 7.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/0.1156, allocations: 0.6513 MB / 435.9 MB, free: 6.531 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/0.1165, allocations: 1.168 MB / 437.1 MB, free: 5.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.1166, allocations: 317 kB / 437.4 MB, free: 5.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.1176, allocations: 0.7002 MB / 438.1 MB, free: 4.332 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.1201, allocations: 4.564 MB / 442.7 MB, free: 13.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/0.1241, allocations: 5.791 MB / 448.4 MB, free: 6.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.003e-05/0.1241, allocations: 40 kB / 448.5 MB, free: 5.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.004394/0.1285, allocations: 4.103 MB / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.584e-05/0.1286, allocations: 68 kB / 452.7 MB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-05/0.1287, allocations: 139.9 kB / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.1288, allocations: 184.8 kB / 453 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1522/0.281, allocations: 1.499 MB / 454.5 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002995/0.2813, allocations: 275.1 kB / 454.7 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.2843, allocations: 277 kB / 455 MB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/0.2848, allocations: 333 kB / 455.3 MB, free: 107.9 MB / 426.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.001231/0.286, allocations: 0.6315 MB / 456 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.2863, allocations: 211 kB / 456.2 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.2866, allocations: 319.8 kB / 456.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.2867, allocations: 20.34 kB / 456.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.2867, allocations: 3.438 kB / 456.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2867, allocations: 9.984 kB / 456.5 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.2907, allocations: 4.05 MB / 460.6 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.2907, allocations: 19.88 kB / 460.6 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.2913, allocations: 284.6 kB / 460.9 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.2913, allocations: 26.34 kB / 460.9 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.2914, allocations: 50.62 kB / 460.9 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.461e-05/0.2914, allocations: 37.41 kB / 461 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.2914, allocations: 25.06 kB / 461 MB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.2926, allocations: 1.91 MB / 462.9 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/0.2929, allocations: 320.7 kB / 463.2 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.2931, allocations: 55.84 kB / 463.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.2937, allocations: 46.39 kB / 463.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.2938, allocations: 148.1 kB / 463.5 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.2939, allocations: 58.42 kB / 463.5 MB, free: 105.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.2949, allocations: 1.312 MB / 464.8 MB, free: 105.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2949, allocations: 0 / 464.8 MB, free: 105.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002962/0.2979, allocations: 0.989 MB / 465.8 MB, free: 105.3 MB / 426.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.0003701/0.2983, allocations: 188.2 kB / 466 MB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.3008, allocations: 2.329 MB / 468.3 MB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001566/0.301, allocations: 105 kB / 468.4 MB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.3013, allocations: 392.5 kB / 468.8 MB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.3027, allocations: 425.8 kB / 469.2 MB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/0.3103, allocations: 7.588 MB / 476.8 MB, free: 101.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000918/0.3112, allocations: 1.18 MB / 478 MB, free: 101.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001141/0.3124, allocations: 0.5089 MB / 478.5 MB, free: 101 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/0.313, allocations: 0.5595 MB / 479.1 MB, free: 100.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.154e-06/0.313, allocations: 0 / 479.1 MB, free: 100.5 MB / 426.7 MB Notification: Performance of Templates: time 0.04264/0.3556, allocations: 24.75 MB / 0.492 GB, free: 78.24 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.964290726929903]