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.001185/0.001185, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001259/0.001259, allocations: 166.4 kB / 25 MB, free: 8.336 MB / 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.048/1.048, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.294/0.294, allocations: 32.8 MB / 294.6 MB, free: 1.293 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.204e-06/2.204e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.53e-05, allocations: 4.141 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01084/0.01088, allocations: 8.358 MB / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.01761, allocations: 3.393 MB / 387.8 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.01898, allocations: 55.75 kB / 387.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.02107, allocations: 1.456 MB / 389.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.02343, allocations: 0.972 MB / 390.2 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.02458, allocations: 0.5652 MB / 390.8 MB, free: 6.121 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.02665, allocations: 2.064 MB / 392.9 MB, free: 4.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.0284, allocations: 1.561 MB / 394.4 MB, free: 2.449 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.02972, allocations: 1.021 MB / 395.5 MB, free: 1.426 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.03072, allocations: 1.009 MB / 396.5 MB, free: 424 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.03092, allocations: 140 kB / 396.6 MB, free: 284 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009939/0.03191, allocations: 0.5732 MB / 397.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006743/0.03259, allocations: 0.7871 MB / 398 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006357/0.03322, allocations: 0.5415 MB / 398.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.03489, allocations: 1.744 MB / 400.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.03489, allocations: 0 / 400.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.03489, allocations: 0 / 400.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.281e-05/0.03492, allocations: 0 / 400.2 MB, free: 12.62 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.002482/0.0374, allocations: 2.17 MB / 402.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.03745, allocations: 8.031 kB / 402.4 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/0.03836, allocations: 419.5 kB / 402.8 MB, free: 9.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.03955, allocations: 0.9274 MB / 403.8 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.03961, allocations: 98.83 kB / 403.9 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.03975, allocations: 120.3 kB / 404 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.0427, allocations: 2.041 MB / 406 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.04274, allocations: 11.89 kB / 406 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.04284, allocations: 59.97 kB / 406.1 MB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003947/0.04323, allocations: 446 kB / 406.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.04535, allocations: 1.013 MB / 407.5 MB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008593/0.05394, allocations: 11.64 MB / 419.2 MB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.05616, allocations: 1.032 MB / 420.2 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.05641, allocations: 209.3 kB / 420.4 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001926/0.05834, allocations: 1.79 MB / 422.2 MB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.05837, allocations: 45.83 kB / 422.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 3.607e-06/0.05837, allocations: 0 / 422.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.00651/0.06488, allocations: 3.001 MB / 425.3 MB, free: 2.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.06494, allocations: 85.61 kB / 425.3 MB, free: 2.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009586/0.06589, allocations: 1.114 MB / 426.4 MB, free: 1.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.06592, allocations: 37.7 kB / 426.5 MB, free: 1.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.0664, allocations: 1.039 MB / 427.5 MB, free: 468 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.06652, allocations: 238.1 kB / 427.8 MB, free: 228 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.06678, allocations: 341 kB / 428.1 MB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.06693, allocations: 0.5316 MB / 428.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.06716, allocations: 159.9 kB / 428.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/0.06793, allocations: 1.427 MB / 430.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.06908, allocations: 1.717 MB / 431.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.06909, allocations: 8 kB / 431.9 MB, free: 10.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001463/0.07055, allocations: 1.306 MB / 433.2 MB, free: 9.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.07058, allocations: 16 kB / 433.3 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.0706, allocations: 32 kB / 433.3 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.07078, allocations: 79.66 kB / 433.4 MB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.0714, allocations: 355.3 kB / 433.7 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.07254, allocations: 2.141 MB / 435.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006278/0.07317, allocations: 95.92 kB / 435.9 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.07324, allocations: 84.09 kB / 436 MB, free: 6.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (194): * Single equations (assignments): 193 * 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.0003926/0.07363, allocations: 298.4 kB / 436.3 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.07376, allocations: 131.2 kB / 436.4 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.07388, allocations: 118.6 kB / 436.6 MB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.07388, allocations: 7.938 kB / 436.6 MB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.07389, allocations: 4 kB / 436.6 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.0739, allocations: 0 / 436.6 MB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.0759, allocations: 1.757 MB / 438.3 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.07591, allocations: 4 kB / 438.3 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.07613, allocations: 99.83 kB / 438.4 MB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001447/0.07627, allocations: 52.09 kB / 438.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.0763, allocations: 16 kB / 438.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.07747, allocations: 2.169 MB / 440.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.07748, allocations: 4.156 kB / 440.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.07823, allocations: 0.8266 MB / 441.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.07837, allocations: 119.2 kB / 441.6 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.07844, allocations: 12 kB / 441.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.07867, allocations: 39.95 kB / 441.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.07874, allocations: 55.8 kB / 441.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.07876, allocations: 20 kB / 441.7 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000504/0.07926, allocations: 0.5696 MB / 442.3 MB, free: 36 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07926, allocations: 0 / 442.3 MB, free: 36 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001095/0.08036, allocations: 352 kB / 442.7 MB, free: 15.69 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.0002834/0.08064, allocations: 143.1 kB / 442.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.08165, allocations: 0.8463 MB / 443.6 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.08165, allocations: 4.125 kB / 443.6 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.08195, allocations: 397.8 kB / 444 MB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.08253, allocations: 169.4 kB / 444.2 MB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.08602, allocations: 2.516 MB / 446.7 MB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.08637, allocations: 412.1 kB / 447.1 MB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005849/0.08695, allocations: 357.1 kB / 447.5 MB, free: 10.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.08708, allocations: 76.48 kB / 447.5 MB, free: 10.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.08708, allocations: 0 / 447.5 MB, free: 10.61 MB / 426.7 MB Notification: Performance of Templates: time 0.01753/0.1046, allocations: 10.6 MB / 458.1 MB, free: 200 kB / 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.68656873004511]