Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001014/0.001014, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001028/0.001028, allocations: 161 kB / 24.56 MB, free: 16 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 0.9998/0.9998, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2486/0.2486, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.106e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007506/0.007537, allocations: 8.396 MB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006332/0.01387, allocations: 3.405 MB / 389.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.01508, allocations: 51.75 kB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.01686, allocations: 1.472 MB / 391.4 MB, free: 5.262 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.01867, allocations: 0.9681 MB / 392.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008256/0.0195, allocations: 0.5652 MB / 392.9 MB, free: 3.723 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.02139, allocations: 2.061 MB / 395 MB, free: 1.656 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.02282, allocations: 1.553 MB / 396.5 MB, free: 60 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.024, allocations: 1.021 MB / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.02533, allocations: 1.009 MB / 398.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.02557, allocations: 147.9 kB / 398.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.02952, allocations: 0.5694 MB / 399.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006505/0.03017, allocations: 0.7871 MB / 400 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.03079, allocations: 0.5337 MB / 400.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005056/0.03584, allocations: 1.748 MB / 402.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.03585, allocations: 0 / 402.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.03585, allocations: 0 / 402.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.912e-05/0.03589, allocations: 4 kB / 402.3 MB, free: 10.23 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.006107/0.04199, allocations: 2.162 MB / 404.5 MB, free: 8.016 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.04204, allocations: 8.031 kB / 404.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.0431, allocations: 427.5 kB / 404.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004424/0.04752, allocations: 0.9313 MB / 405.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.0476, allocations: 94.83 kB / 405.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.04777, allocations: 120.4 kB / 406.1 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/0.05427, allocations: 2.045 MB / 408.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.05431, allocations: 15.88 kB / 408.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.05442, allocations: 55.97 kB / 408.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004893/0.05491, allocations: 434 kB / 408.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005727/0.06064, allocations: 1.02 MB / 409.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.07916, allocations: 11.64 MB / 421.3 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005687/0.08484, allocations: 1.028 MB / 422.3 MB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.08718, allocations: 205.3 kB / 422.5 MB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002433/0.08961, allocations: 1.794 MB / 424.3 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.08964, allocations: 41.89 kB / 424.3 MB, free: 3.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.484e-06/0.08965, allocations: 0 / 424.3 MB, free: 3.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.006845/0.09649, allocations: 3.005 MB / 427.3 MB, free: 400 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.09654, allocations: 85.55 kB / 427.4 MB, free: 296 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.09757, allocations: 1.117 MB / 428.5 MB, free: 15.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.0976, allocations: 33.7 kB / 428.6 MB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.0981, allocations: 1.035 MB / 429.6 MB, free: 14.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.09822, allocations: 238.1 kB / 429.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.09848, allocations: 337 kB / 430.2 MB, free: 13.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.09863, allocations: 0.5316 MB / 430.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.09889, allocations: 167.9 kB / 430.9 MB, free: 12.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008028/0.09969, allocations: 1.419 MB / 432.3 MB, free: 10.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.101, allocations: 1.721 MB / 434 MB, free: 8.516 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.101, allocations: 8 kB / 434 MB, free: 8.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001504/0.1025, allocations: 1.301 MB / 435.3 MB, free: 7.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.1025, allocations: 23 kB / 435.3 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.1025, allocations: 28 kB / 435.4 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.1027, allocations: 83.66 kB / 435.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.1034, allocations: 363.3 kB / 435.8 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1046, allocations: 2.137 MB / 437.9 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005881/0.1052, allocations: 95.88 kB / 438 MB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/0.1053, allocations: 84.03 kB / 438.1 MB, free: 4.273 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.0003509/0.1056, allocations: 294.5 kB / 438.4 MB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.1058, allocations: 131.2 kB / 438.5 MB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1059, allocations: 114.6 kB / 438.6 MB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1059, allocations: 7.938 kB / 438.6 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1059, allocations: 4 kB / 438.6 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1059, allocations: 7.922 kB / 438.7 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.1079, allocations: 1.754 MB / 440.4 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1079, allocations: 4 kB / 440.4 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1081, allocations: 95.83 kB / 440.5 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.1082, allocations: 51.66 kB / 440.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.1083, allocations: 19.98 kB / 440.6 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1734/0.2816, allocations: 2.174 MB / 442.7 MB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2816, allocations: 9 kB / 442.8 MB, free: 92.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009517/0.2826, allocations: 0.8176 MB / 443.6 MB, free: 91.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.2828, allocations: 116.6 kB / 443.7 MB, free: 91.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/0.2829, allocations: 18.09 kB / 443.7 MB, free: 91.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.2832, allocations: 37.27 kB / 443.7 MB, free: 91.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.2833, allocations: 52.89 kB / 443.8 MB, free: 91.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.2833, allocations: 19.22 kB / 443.8 MB, free: 91.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006272/0.2839, allocations: 0.5757 MB / 444.4 MB, free: 91.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 2.188 kB / 444.4 MB, free: 91.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0011/0.285, allocations: 350 kB / 444.7 MB, free: 91.57 MB / 410.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.0002589/0.2853, allocations: 135.9 kB / 444.9 MB, free: 91.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009816/0.2863, allocations: 0.8558 MB / 445.7 MB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2863, allocations: 2.719 kB / 445.7 MB, free: 91.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.2865, allocations: 375 kB / 446.1 MB, free: 91.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.2871, allocations: 175.4 kB / 446.3 MB, free: 91.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.2899, allocations: 2.517 MB / 448.8 MB, free: 89.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.2902, allocations: 407 kB / 449.2 MB, free: 89.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005072/0.2907, allocations: 358.4 kB / 449.5 MB, free: 89.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2908, allocations: 78.91 kB / 449.6 MB, free: 89.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2908, allocations: 3.344 kB / 449.6 MB, free: 89.78 MB / 410.7 MB Notification: Performance of Templates: time 0.01638/0.3072, allocations: 10.6 MB / 460.2 MB, free: 88.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7743585756979883]