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.001474/0.001474, allocations: 88.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.001056/0.001056, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9576/0.9576, allocations: 177 MB / 205.2 MB, free: 5.059 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.2578/0.2578, allocations: 34.86 MB / 296.6 MB, free: 400 kB / 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.422e-06/1.422e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.394e-05, allocations: 5.406 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008025/0.008039, allocations: 10.71 MB / 336.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005764/0.0138, allocations: 4.116 MB / 340.7 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007963/0.0146, allocations: 75.62 kB / 340.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.0171, allocations: 2.674 MB / 343.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.01945, allocations: 1.959 MB / 345.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.02032, allocations: 0.8654 MB / 346.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003349/0.02367, allocations: 5.216 MB / 351.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.02593, allocations: 3.439 MB / 355 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.02794, allocations: 2.491 MB / 357.5 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.02999, allocations: 2.354 MB / 359.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.03039, allocations: 335.9 kB / 360.1 MB, free: 4.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.03149, allocations: 0.9012 MB / 361 MB, free: 3.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.03267, allocations: 2.057 MB / 363.1 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.03375, allocations: 1.308 MB / 364.4 MB, free: 476 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.03683, allocations: 4.46 MB / 368.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.03684, allocations: 0 / 368.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03684, allocations: 0 / 368.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.517e-05/0.03691, allocations: 0 / 368.9 MB, free: 11.99 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.004355/0.04126, allocations: 4.469 MB / 373.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.04129, allocations: 8.031 kB / 373.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.0439, allocations: 1.14 MB / 374.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.04571, allocations: 1.781 MB / 376.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.04583, allocations: 242.7 kB / 376.5 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/0.04617, allocations: 332.2 kB / 376.8 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007269/0.05344, allocations: 5.259 MB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.05355, allocations: 47.56 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003835/0.05394, allocations: 159.8 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00214/0.05608, allocations: 1.705 MB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006419/0.0625, allocations: 2.544 MB / 386.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.09084, allocations: 32.14 MB / 418.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004787/0.09563, allocations: 1.891 MB / 420.6 MB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.09616, allocations: 325.1 kB / 420.9 MB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005653/0.1018, allocations: 3.496 MB / 424.4 MB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1019, allocations: 47.56 kB / 424.4 MB, free: 2.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 4.098e-06/0.1019, allocations: 0 / 424.4 MB, free: 2.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01119/0.1131, allocations: 4.477 MB / 428.9 MB, free: 13.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.1131, allocations: 200.9 kB / 429.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.1153, allocations: 3.177 MB / 432.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.1154, allocations: 45.7 kB / 432.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.1166, allocations: 3.16 MB / 435.5 MB, free: 6.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.1169, allocations: 0.6435 MB / 436.1 MB, free: 6.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008862/0.1177, allocations: 1.176 MB / 437.3 MB, free: 5.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.1178, allocations: 309 kB / 437.6 MB, free: 4.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009251/0.1187, allocations: 0.7041 MB / 438.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.1212, allocations: 4.564 MB / 442.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003735/0.1249, allocations: 5.791 MB / 448.7 MB, free: 5.785 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.541e-05/0.125, allocations: 40 kB / 448.7 MB, free: 5.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.003774/0.1287, allocations: 4.108 MB / 452.8 MB, free: 1.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/0.1288, allocations: 64 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.1289, allocations: 140 kB / 453 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.1291, allocations: 184 kB / 453.2 MB, free: 1.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1484/0.2775, allocations: 1.429 MB / 454.6 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002898/0.2778, allocations: 272.7 kB / 454.9 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/0.2812, allocations: 278.1 kB / 455.2 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004044/0.2816, allocations: 331.8 kB / 455.5 MB, free: 119.8 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.001192/0.2828, allocations: 0.6361 MB / 456.1 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.2831, allocations: 212 kB / 456.3 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.2835, allocations: 321 kB / 456.6 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.2835, allocations: 17.23 kB / 456.7 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2835, allocations: 3.969 kB / 456.7 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.2835, allocations: 10.27 kB / 456.7 MB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.2882, allocations: 4.053 MB / 460.7 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.2883, allocations: 17.5 kB / 460.7 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.2889, allocations: 262.1 kB / 461 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.085e-05/0.2889, allocations: 24.81 kB / 461 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.289, allocations: 50.36 kB / 461.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.707e-05/0.289, allocations: 33.52 kB / 461.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.289, allocations: 29.12 kB / 461.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2904, allocations: 1.909 MB / 463 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.2907, allocations: 323.3 kB / 463.4 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.291, allocations: 55.86 kB / 463.4 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.2918, allocations: 42.62 kB / 463.5 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.292, allocations: 154.5 kB / 463.6 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.292, allocations: 51.75 kB / 463.7 MB, free: 117.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001185/0.2932, allocations: 1.321 MB / 465 MB, free: 117.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2932, allocations: 0 / 465 MB, free: 117.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003525/0.2967, allocations: 0.9843 MB / 466 MB, free: 117.2 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.000309/0.297, allocations: 189.5 kB / 466.1 MB, free: 117.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.2994, allocations: 2.344 MB / 468.5 MB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001678/0.2995, allocations: 102.9 kB / 468.6 MB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.2999, allocations: 380.1 kB / 469 MB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/0.3016, allocations: 427 kB / 469.4 MB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008344/0.31, allocations: 7.584 MB / 477 MB, free: 111 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.3112, allocations: 1.181 MB / 478.1 MB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009636/0.3122, allocations: 0.5016 MB / 478.6 MB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.3128, allocations: 0.554 MB / 479.2 MB, free: 109.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/0.3128, allocations: 0 / 479.2 MB, free: 109.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03374/0.3465, allocations: 24.68 MB / 0.4921 GB, free: 85.72 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 -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: 4.058990720193833]