Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.001521/0.001521, allocations: 82.5 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001685/0.001685, allocations: 163 kB / 23.95 MB, free: 4.172 MB / 14.72 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.447/1.447, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.1963/0.1963, allocations: 32.82 MB / 293.5 MB, free: 36 kB / 270.1 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.928e-05, allocations: 2.281 kB / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1903/0.1903, allocations: 10.71 MB / 450.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007483/0.1978, allocations: 3.69 MB / 454.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.1991, allocations: 70.28 kB / 454.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.2017, allocations: 1.343 MB / 455.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004244/0.206, allocations: 1.829 MB / 457.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.2071, allocations: 463.8 kB / 458.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005031/0.2121, allocations: 3.976 MB / 462.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.2148, allocations: 2.088 MB / 464.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.2176, allocations: 1.845 MB / 466.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.2206, allocations: 1.956 MB / 468.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.2212, allocations: 242.1 kB / 468.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.2229, allocations: 0.7751 MB / 469.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.2242, allocations: 1.678 MB / 470.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.2255, allocations: 0.996 MB / 471.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005546/0.2311, allocations: 6.045 MB / 477.8 MB, free: 2.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2311, allocations: 0 / 477.8 MB, free: 2.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2311, allocations: 0 / 477.8 MB, free: 2.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001558/0.2312, allocations: 0 / 477.8 MB, free: 2.914 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.007523/0.2387, allocations: 4.071 MB / 481.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2388, allocations: 8.781 kB / 481.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.2502, allocations: 3.145 MB / 485 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/0.2549, allocations: 1.855 MB / 486.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.2552, allocations: 188.7 kB / 487.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000849/0.256, allocations: 252.2 kB / 487.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.2737, allocations: 10.18 MB / 497.5 MB, free: 104 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.73e-05/0.2738, allocations: 27.75 kB / 497.5 MB, free: 76 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003945/0.2742, allocations: 119.8 kB / 497.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004313/0.2785, allocations: 2.467 MB / 0.4884 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.2982, allocations: 9.343 MB / 0.4975 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04558/0.3438, allocations: 28.84 MB / 0.5257 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006015/0.3498, allocations: 2.421 MB / 0.528 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.3514, allocations: 0.9899 MB / 0.529 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008389/0.3522, allocations: 448.8 kB / 0.5294 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.3523, allocations: 51.88 kB / 0.5295 GB, free: 2.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.949e-06/0.3523, allocations: 3.938 kB / 0.5295 GB, free: 2.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.02185/0.3741, allocations: 9.205 MB / 0.5385 GB, free: 9.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.3742, allocations: 68.72 kB / 0.5385 GB, free: 9.262 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/0.378, allocations: 2.687 MB / 0.5411 GB, free: 6.543 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.3781, allocations: 45.7 kB / 0.5412 GB, free: 6.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.3802, allocations: 2.772 MB / 0.5439 GB, free: 3.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006396/0.3808, allocations: 0.7208 MB / 0.5446 GB, free: 2.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.3821, allocations: 0.9653 MB / 0.5455 GB, free: 1.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3823, allocations: 357.9 kB / 0.5459 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/0.3847, allocations: 1.548 MB / 0.5474 GB, free: 76 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/0.3894, allocations: 4.379 MB / 0.5517 GB, free: 10.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00809/0.3975, allocations: 6.567 MB / 0.5581 GB, free: 2.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-05/0.3975, allocations: 31.94 kB / 0.5581 GB, free: 2.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009558/0.4071, allocations: 5.848 MB / 0.5638 GB, free: 12.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.4072, allocations: 50.66 kB / 0.5639 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.4073, allocations: 100.9 kB / 0.564 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.4076, allocations: 172.8 kB / 0.5641 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.4106, allocations: 1.072 MB / 0.5652 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.4123, allocations: 1.676 MB / 0.5668 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.4149, allocations: 233 kB / 0.567 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003939/0.4153, allocations: 300 kB / 0.5673 GB, free: 8.754 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.003343/0.4186, allocations: 1.99 MB / 0.5693 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/0.419, allocations: 246.3 kB / 0.5695 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.423, allocations: 2.527 MB / 0.572 GB, free: 3.953 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.423, allocations: 24 kB / 0.572 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.423, allocations: 0 / 0.572 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.423, allocations: 15.91 kB / 0.572 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.4341, allocations: 6.575 MB / 0.5784 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.4341, allocations: 15.88 kB / 0.5784 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/0.4351, allocations: 247.6 kB / 0.5787 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.4353, allocations: 56.83 kB / 0.5787 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.4354, allocations: 39.98 kB / 0.5788 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.4369, allocations: 1.499 MB / 0.5802 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/0.4369, allocations: 16.12 kB / 0.5803 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.4423, allocations: 3.998 MB / 0.5842 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.4428, allocations: 230.3 kB / 0.5844 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.443, allocations: 40 kB / 0.5844 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/0.4439, allocations: 79.84 kB / 0.5845 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.4441, allocations: 120.6 kB / 0.5846 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.4442, allocations: 71.97 kB / 0.5847 GB, free: 6.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002335/0.4466, allocations: 1.524 MB / 0.5862 GB, free: 4.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4466, allocations: 4 kB / 0.5862 GB, free: 4.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003617/0.4502, allocations: 0.828 MB / 0.587 GB, free: 4.145 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004703/0.4507, allocations: 198.8 kB / 0.5872 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005821/0.4565, allocations: 3.724 MB / 0.5908 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.4565, allocations: 0 / 0.5908 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.4583, allocations: 1.171 MB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.4599, allocations: 263.9 kB / 0.5922 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.4756, allocations: 8.553 MB / 0.6006 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003281/0.4789, allocations: 2.579 MB / 0.6031 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00387/0.4828, allocations: 1.696 MB / 0.6047 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.4832, allocations: 184.5 kB / 0.6049 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.4833, allocations: 0 / 0.6049 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of Templates: time 0.05681/0.5401, allocations: 16.65 MB / 0.6212 GB, free: 1.238 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.840465601533651]