Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001605/0.001605, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001637/0.001637, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.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.2829/0.2829, allocations: 32.81 MB / 294.3 MB, free: 1.285 MB / 266.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.299e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007558/0.007591, allocations: 8.389 MB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.01282, allocations: 3.409 MB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.01356, allocations: 51.75 kB / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.01538, allocations: 1.464 MB / 389.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.01703, allocations: 0.9759 MB / 390.3 MB, free: 6.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.01784, allocations: 0.5691 MB / 390.9 MB, free: 5.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.01953, allocations: 2.061 MB / 392.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.02094, allocations: 1.553 MB / 394.5 MB, free: 2.066 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.022, allocations: 1.053 MB / 395.6 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009819/0.02299, allocations: 0.9821 MB / 396.5 MB, free: 28 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.02316, allocations: 136 kB / 396.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.02393, allocations: 0.5732 MB / 397.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000587/0.02452, allocations: 0.7832 MB / 398 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.02496, allocations: 0.5337 MB / 398.6 MB, free: 14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.02659, allocations: 1.725 MB / 400.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.0266, allocations: 0 / 400.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.0266, allocations: 0 / 400.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.02662, allocations: 0 / 400.3 MB, free: 12.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002711/0.02933, allocations: 2.143 MB / 402.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.02938, allocations: 8.031 kB / 402.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008563/0.03024, allocations: 419.5 kB / 402.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/0.0312, allocations: 0.9094 MB / 403.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.03126, allocations: 90.83 kB / 403.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.0314, allocations: 120.4 kB / 404 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.03426, allocations: 2.041 MB / 406 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.0343, allocations: 19.89 kB / 406 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.03439, allocations: 55.97 kB / 406.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003696/0.03476, allocations: 430 kB / 406.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.0366, allocations: 1.032 MB / 407.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007809/0.04441, allocations: 11.64 MB / 419.2 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.04638, allocations: 1.032 MB / 420.2 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.04662, allocations: 209.3 kB / 420.4 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.04835, allocations: 1.79 MB / 422.2 MB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.04838, allocations: 45.83 kB / 422.2 MB, free: 5.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.04839, allocations: 4 kB / 422.2 MB, free: 5.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.006039/0.05443, allocations: 2.997 MB / 425.2 MB, free: 2.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.05448, allocations: 81.61 kB / 425.3 MB, free: 2.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.05577, allocations: 1.142 MB / 426.5 MB, free: 1.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.0558, allocations: 37.7 kB / 426.5 MB, free: 1.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.05631, allocations: 1.051 MB / 427.5 MB, free: 124 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.05644, allocations: 230.4 kB / 427.8 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.05672, allocations: 341 kB / 428.1 MB, free: 15.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.05689, allocations: 0.5316 MB / 428.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.05714, allocations: 179.9 kB / 428.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008641/0.058, allocations: 1.464 MB / 430.3 MB, free: 12.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.05954, allocations: 1.77 MB / 432 MB, free: 10.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.05955, allocations: 8 kB / 432.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001352/0.0609, allocations: 1.344 MB / 433.4 MB, free: 9.062 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.06094, allocations: 20 kB / 433.4 MB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.06096, allocations: 32 kB / 433.4 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.06115, allocations: 72.33 kB / 433.5 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.06176, allocations: 371.3 kB / 433.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.06297, allocations: 2.141 MB / 436 MB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.06349, allocations: 95.89 kB / 436.1 MB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.562e-05/0.06357, allocations: 91.98 kB / 436.2 MB, free: 6.129 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003546/0.06393, allocations: 302.5 kB / 436.5 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.06405, allocations: 127.3 kB / 436.6 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.06416, allocations: 118.7 kB / 436.7 MB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.06416, allocations: 8 kB / 436.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.06417, allocations: 0 / 436.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.06418, allocations: 3.984 kB / 436.8 MB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.06615, allocations: 1.75 MB / 438.5 MB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.06616, allocations: 4.5 kB / 438.5 MB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.06637, allocations: 99.83 kB / 438.6 MB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000143/0.06652, allocations: 55.59 kB / 438.7 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.06654, allocations: 15.98 kB / 438.7 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.06804, allocations: 2.165 MB / 440.8 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.06805, allocations: 16.02 kB / 440.9 MB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000722/0.06877, allocations: 0.8188 MB / 441.7 MB, free: 328 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.06889, allocations: 111.3 kB / 441.8 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.06895, allocations: 16 kB / 441.8 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.06917, allocations: 39.95 kB / 441.8 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.06924, allocations: 59.78 kB / 441.9 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.06926, allocations: 20.03 kB / 441.9 MB, free: 80 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005214/0.06978, allocations: 0.5778 MB / 442.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.06978, allocations: 0 / 442.5 MB, free: 15.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001022/0.0708, allocations: 356 kB / 442.8 MB, free: 15.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003253/0.07113, allocations: 135 kB / 443 MB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.07215, allocations: 0.8688 MB / 443.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.07215, allocations: 0 / 443.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.07244, allocations: 388.2 kB / 444.2 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.07306, allocations: 183.7 kB / 444.4 MB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.07677, allocations: 2.508 MB / 446.9 MB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.07709, allocations: 416.2 kB / 447.3 MB, free: 10.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005124/0.0776, allocations: 353.3 kB / 447.7 MB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.07772, allocations: 76.48 kB / 447.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/0.07772, allocations: 4 kB / 447.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of Templates: time 0.1845/0.2622, allocations: 11.14 MB / 458.9 MB, free: 109.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.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.731607438996434]