Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.001341/0.001341, allocations: 82.66 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.001439/0.001439, allocations: 163.2 kB / 23.96 MB, free: 4.164 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.371/1.371, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1955/0.1955, allocations: 32.81 MB / 293.5 MB, free: 40 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.635e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.1982/0.1982, allocations: 13.01 MB / 453.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008919/0.2072, allocations: 4.234 MB / 457.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.2097, allocations: 92.94 kB / 457.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004492/0.2142, allocations: 2.284 MB / 459.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004982/0.2191, allocations: 2.12 MB / 461.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.2207, allocations: 0.6674 MB / 462.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006081/0.2268, allocations: 4.697 MB / 467.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0045/0.2313, allocations: 2.934 MB / 470.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007271/0.2386, allocations: 2.436 MB / 472.6 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004419/0.243, allocations: 2.395 MB / 475 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.2442, allocations: 345.2 kB / 475.3 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.2472, allocations: 1.008 MB / 476.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002845/0.2501, allocations: 2.086 MB / 478.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00335/0.2534, allocations: 1.307 MB / 479.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.2643, allocations: 7.753 MB / 487.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2644, allocations: 4 kB / 487.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2644, allocations: 0 / 487.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002584/0.2646, allocations: 0 / 487.5 MB, free: 10.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.0111/0.2757, allocations: 5.113 MB / 492.6 MB, free: 5.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2758, allocations: 12.03 kB / 492.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.2873, allocations: 3.265 MB / 495.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.2923, allocations: 2.325 MB / 498.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.2925, allocations: 254.6 kB / 498.4 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/0.2933, allocations: 324.1 kB / 498.7 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/0.3129, allocations: 12.24 MB / 0.499 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.313, allocations: 35.64 kB / 0.4991 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004846/0.3135, allocations: 155.8 kB / 0.4992 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004994/0.3185, allocations: 2.855 MB / 0.502 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0243/0.3428, allocations: 11.11 MB / 0.5128 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06142/0.4042, allocations: 37.38 MB / 0.5493 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009593/0.4138, allocations: 3.725 MB / 0.553 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/0.4173, allocations: 2.251 MB / 0.5552 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000891/0.4182, allocations: 445.2 kB / 0.5556 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.4182, allocations: 55.38 kB / 0.5556 GB, free: 7.426 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 5.911e-06/0.4182, allocations: 4 kB / 0.5556 GB, free: 7.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.04812/0.4663, allocations: 19.06 MB / 0.5743 GB, free: 4.293 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.4664, allocations: 77.41 kB / 0.5743 GB, free: 4.207 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00535/0.4718, allocations: 3.136 MB / 0.5774 GB, free: 1.047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002235/0.472, allocations: 65.69 kB / 0.5775 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002614/0.4746, allocations: 3.248 MB / 0.5806 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.4758, allocations: 0.9997 MB / 0.5816 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002094/0.4779, allocations: 1.172 MB / 0.5828 GB, free: 11.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.478, allocations: 305.1 kB / 0.583 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004121/0.4821, allocations: 2.467 MB / 0.5855 GB, free: 8.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00702/0.4891, allocations: 5.731 MB / 0.591 GB, free: 1.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.5012, allocations: 8.985 MB / 0.5998 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.5013, allocations: 32 kB / 0.5999 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01755/0.5188, allocations: 8.998 MB / 0.6086 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.519, allocations: 55.98 kB / 0.6087 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/0.5192, allocations: 112 kB / 0.6088 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003369/0.5225, allocations: 1.054 MB / 0.6098 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004612/0.5271, allocations: 1.341 MB / 0.6111 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/0.5353, allocations: 5.366 MB / 0.6164 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003822/0.5391, allocations: 355.6 kB / 0.6167 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008095/0.5399, allocations: 348 kB / 0.6171 GB, free: 5.047 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004341/0.5442, allocations: 2.402 MB / 0.6194 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/0.5449, allocations: 309.9 kB / 0.6197 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.555, allocations: 5.342 MB / 0.6249 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.412e-05/0.5551, allocations: 47.98 kB / 0.625 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/0.5551, allocations: 7.938 kB / 0.625 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.5551, allocations: 7.969 kB / 0.625 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/0.5812, allocations: 11.41 MB / 0.6361 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-05/0.5813, allocations: 12 kB / 0.6361 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.5832, allocations: 419.4 kB / 0.6365 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1982/0.7815, allocations: 0.8978 MB / 0.6374 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005878/0.7821, allocations: 56.19 kB / 0.6375 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006545/0.7886, allocations: 4.675 MB / 0.642 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/0.7886, allocations: 23.03 kB / 0.642 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.8013, allocations: 7.97 MB / 0.6498 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007972/0.8021, allocations: 294.4 kB / 0.6501 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006078/0.8028, allocations: 47.22 kB / 0.6502 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/0.8045, allocations: 179.8 kB / 0.6503 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/0.805, allocations: 179.2 kB / 0.6505 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000206/0.8052, allocations: 79.8 kB / 0.6506 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003196/0.8084, allocations: 1.782 MB / 0.6523 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8084, allocations: 4.25 kB / 0.6523 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004766/0.8131, allocations: 1.132 MB / 0.6534 GB, free: 162.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (208): * Single equations (assignments): 201 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006361/0.8138, allocations: 211 kB / 0.6536 GB, free: 162 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008189/0.8219, allocations: 5.796 MB / 0.6593 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.822, allocations: 3.094 kB / 0.6593 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.8244, allocations: 2.094 MB / 0.6613 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/0.8268, allocations: 359.6 kB / 0.6617 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.8414, allocations: 11.38 MB / 0.6728 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002882/0.8443, allocations: 3.174 MB / 0.6759 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003359/0.8476, allocations: 2.124 MB / 0.678 GB, free: 152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.8483, allocations: 227.8 kB / 0.6782 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.8483, allocations: 0 / 0.6782 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.04786/0.8961, allocations: 30.16 MB / 0.7076 GB, free: 123.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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: 6.479988262057304]