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.001062/0.001062, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001718/0.001718, allocations: 157.7 kB / 25.61 MB, free: 8.574 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 1.071/1.071, allocations: 177 MB / 205.9 MB, free: 4.422 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.1824/0.1824, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 179] 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.583e-06/1.583e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.014e-05, allocations: 2.312 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.007285/0.007306, allocations: 10.72 MB / 390.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005971/0.01328, allocations: 3.961 MB / 394.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.01424, allocations: 83.56 kB / 394.8 MB, free: 7.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.01652, allocations: 2.628 MB / 397.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.01915, allocations: 1.971 MB / 399.4 MB, free: 3.293 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.02029, allocations: 0.8616 MB / 400.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004185/0.02447, allocations: 5.2 MB / 405.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.02757, allocations: 3.365 MB / 408.8 MB, free: 9.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.03024, allocations: 2.499 MB / 411.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.03278, allocations: 2.459 MB / 413.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000527/0.0333, allocations: 332 kB / 414.1 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.03478, allocations: 0.9166 MB / 415 MB, free: 3.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.03614, allocations: 2.057 MB / 417 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.03735, allocations: 1.305 MB / 418.4 MB, free: 224 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.04134, allocations: 4.46 MB / 422.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.04135, allocations: 0 / 422.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.04135, allocations: 0 / 422.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.321e-05/0.04143, allocations: 0 / 422.8 MB, free: 11.74 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.005111/0.04654, allocations: 5.009 MB / 427.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.04658, allocations: 8.031 kB / 427.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.04995, allocations: 1.578 MB / 429.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.052, allocations: 1.894 MB / 431.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.05213, allocations: 250.7 kB / 431.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.05248, allocations: 336.2 kB / 431.9 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006104/0.05859, allocations: 5.916 MB / 437.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-05/0.05867, allocations: 55.55 kB / 437.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.05893, allocations: 159.9 kB / 438 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.06041, allocations: 1.705 MB / 439.7 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/0.06471, allocations: 2.516 MB / 442.2 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02931/0.09402, allocations: 45.12 MB / 487.3 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003855/0.09788, allocations: 2.004 MB / 489.3 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.09833, allocations: 424.5 kB / 489.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004215/0.1025, allocations: 3.816 MB / 493.6 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.1026, allocations: 46.39 kB / 493.6 MB, free: 2.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 4.789e-06/0.1026, allocations: 0 / 493.6 MB, free: 2.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.2341/0.3367, allocations: 5.058 MB / 498.7 MB, free: 112.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.3367, allocations: 203.7 kB / 498.9 MB, free: 112.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/0.3404, allocations: 3.531 MB / 0.4906 GB, free: 111.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.3404, allocations: 46.02 kB / 0.4907 GB, free: 111.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.3419, allocations: 3.529 MB / 0.4941 GB, free: 109.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.3422, allocations: 0.6701 MB / 0.4948 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.3433, allocations: 1.352 MB / 0.4961 GB, free: 109.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.3434, allocations: 478.2 kB / 0.4966 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/0.3442, allocations: 0.5238 MB / 0.4971 GB, free: 108.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.3467, allocations: 6.436 MB / 0.5034 GB, free: 101.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.3509, allocations: 7.575 MB / 0.5107 GB, free: 93.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.741e-05/0.3509, allocations: 42.53 kB / 0.5108 GB, free: 93.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.004841/0.3558, allocations: 4.836 MB / 0.5155 GB, free: 89.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.3558, allocations: 67.75 kB / 0.5156 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-05/0.3559, allocations: 140 kB / 0.5157 GB, free: 89.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.87e-05/0.356, allocations: 184 kB / 0.5159 GB, free: 89.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.3581, allocations: 1.431 MB / 0.5173 GB, free: 87.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.763e-05/0.3582, allocations: 276.6 kB / 0.5175 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.3602, allocations: 279.7 kB / 0.5178 GB, free: 87.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.3604, allocations: 335.9 kB / 0.5181 GB, free: 86.93 MB / 410.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.0009795/0.3614, allocations: 0.6711 MB / 0.5188 GB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.3617, allocations: 376 kB / 0.5191 GB, free: 85.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.362, allocations: 323.2 kB / 0.5195 GB, free: 85.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.362, allocations: 20 kB / 0.5195 GB, free: 85.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.362, allocations: 3.938 kB / 0.5195 GB, free: 85.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.362, allocations: 7.125 kB / 0.5195 GB, free: 85.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/0.3663, allocations: 4.866 MB / 0.5242 GB, free: 80.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.3663, allocations: 16 kB / 0.5243 GB, free: 80.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.3668, allocations: 267.6 kB / 0.5245 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.3668, allocations: 31.94 kB / 0.5245 GB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.3668, allocations: 44.5 kB / 0.5246 GB, free: 80.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/0.3669, allocations: 35.86 kB / 0.5246 GB, free: 80.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.3669, allocations: 27.88 kB / 0.5246 GB, free: 80.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.3684, allocations: 2.382 MB / 0.527 GB, free: 77.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.3687, allocations: 321.6 kB / 0.5273 GB, free: 77.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.3689, allocations: 55.92 kB / 0.5273 GB, free: 77.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.3695, allocations: 51.98 kB / 0.5274 GB, free: 77.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3696, allocations: 151.4 kB / 0.5275 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.3696, allocations: 55.98 kB / 0.5276 GB, free: 76.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.3707, allocations: 1.41 MB / 0.529 GB, free: 75.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3707, allocations: 0 / 0.529 GB, free: 75.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002901/0.3736, allocations: 0.9804 MB / 0.5299 GB, free: 74.59 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 (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.0003053/0.3739, allocations: 216.9 kB / 0.5301 GB, free: 74.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.3761, allocations: 2.489 MB / 0.5325 GB, free: 71.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.3761, allocations: 8.062 kB / 0.5326 GB, free: 71.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.3764, allocations: 424.8 kB / 0.533 GB, free: 71.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3778, allocations: 429.6 kB / 0.5334 GB, free: 71.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008984/0.3868, allocations: 7.668 MB / 0.5409 GB, free: 63.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/0.3877, allocations: 1.193 MB / 0.542 GB, free: 61.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001075/0.3888, allocations: 0.5033 MB / 0.5425 GB, free: 61.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006191/0.3894, allocations: 0.5996 MB / 0.5431 GB, free: 60.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3894, allocations: 0 / 0.5431 GB, free: 60.71 MB / 410.7 MB Notification: Performance of Templates: time 0.03637/0.4257, allocations: 25.29 MB / 0.5678 GB, free: 35.97 MB / 410.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.7402691640891135]