Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001436/0.001436, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001696/0.001696, allocations: 224.8 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.246/0.246, allocations: 44.26 MB / 330.3 MB, free: 9.406 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002582/0.002582, allocations: 79.88 kB / 468 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1316, allocations: 61.04 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.025/0.1566, allocations: 13.68 MB / 0.53 GB, free: 8.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.1715, allocations: 4.311 MB / 0.5342 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.176, allocations: 95.62 kB / 0.5343 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006931/0.1829, allocations: 2.203 MB / 0.5365 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008344/0.1913, allocations: 2.148 MB / 0.5386 GB, free: 156 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3165/0.5078, allocations: 0.6207 MB / 0.5392 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008356/0.5161, allocations: 4.441 MB / 0.5435 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004586/0.5207, allocations: 2.758 MB / 0.5462 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.5248, allocations: 1.697 MB / 0.5478 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005034/0.5298, allocations: 2.365 MB / 0.5502 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.5316, allocations: 352.6 kB / 0.5505 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.5353, allocations: 0.9423 MB / 0.5514 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003612/0.5389, allocations: 2.113 MB / 0.5535 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005011/0.5439, allocations: 1.807 MB / 0.5552 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01971/0.5636, allocations: 8.12 MB / 0.5632 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.5636, allocations: 0 / 0.5632 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5636, allocations: 0 / 0.5632 GB, free: 5.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005173/0.5641, allocations: 0 / 0.5632 GB, free: 5.801 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.0273/0.5914, allocations: 5.339 MB / 0.5684 GB, free: 2.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.452e-05/0.5915, allocations: 9 kB / 0.5684 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01924/0.6108, allocations: 3.22 MB / 0.5715 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.6223, allocations: 2.445 MB / 0.5739 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008085/0.6231, allocations: 263.7 kB / 0.5742 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003096/0.6262, allocations: 346.5 kB / 0.5745 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03523/0.6615, allocations: 12.66 MB / 0.5869 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003174/0.6618, allocations: 36.22 kB / 0.5869 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002117/0.6639, allocations: 157.1 kB / 0.5871 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006421/0.6703, allocations: 3.033 MB / 0.59 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0332/0.7035, allocations: 11.3 MB / 0.601 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09033/0.7938, allocations: 38.63 MB / 0.6388 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/0.8054, allocations: 3.612 MB / 0.6423 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/0.8102, allocations: 2.259 MB / 0.6445 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.8114, allocations: 453.7 kB / 0.6449 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/0.8115, allocations: 52.56 kB / 0.645 GB, free: 11.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 7.233e-06/0.8115, allocations: 0 / 0.645 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.06019/0.8717, allocations: 19.39 MB / 0.6639 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.8718, allocations: 103.1 kB / 0.664 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009285/0.8811, allocations: 3.149 MB / 0.6671 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/0.8822, allocations: 67.56 kB / 0.6672 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004975/0.8871, allocations: 3.432 MB / 0.6705 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.003096/0.8902, allocations: 1.017 MB / 0.6715 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004776/0.895, allocations: 1.222 MB / 0.6727 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003067/0.8953, allocations: 305.2 kB / 0.673 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005904/0.9012, allocations: 2.495 MB / 0.6754 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/0.9141, allocations: 5.889 MB / 0.6812 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01802/0.9321, allocations: 9.203 MB / 0.6902 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002569/0.9324, allocations: 36 kB / 0.6902 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.02512/0.9575, allocations: 9.152 MB / 0.6991 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.9577, allocations: 57.56 kB / 0.6992 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003931/0.9581, allocations: 120 kB / 0.6993 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/0.9617, allocations: 1.059 MB / 0.7003 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005859/0.9676, allocations: 1.396 MB / 0.7017 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009643/0.9772, allocations: 5.378 MB / 0.707 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00597/0.9832, allocations: 333 kB / 0.7073 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/0.9849, allocations: 357.5 kB / 0.7076 GB, free: 8.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * 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.007786/0.9927, allocations: 2.479 MB / 0.71 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/0.9939, allocations: 313.9 kB / 0.7103 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.007, allocations: 5.353 MB / 0.7156 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.99e-05/1.007, allocations: 47.98 kB / 0.7156 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.007, allocations: 4 kB / 0.7156 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/1.007, allocations: 11.95 kB / 0.7156 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0319/1.039, allocations: 11.56 MB / 0.7269 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/1.039, allocations: 8 kB / 0.7269 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.041, allocations: 427.3 kB / 0.7273 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/1.044, allocations: 0.887 MB / 0.7282 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/1.045, allocations: 66.42 kB / 0.7283 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00792/1.053, allocations: 4.664 MB / 0.7328 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.428e-05/1.053, allocations: 23.94 kB / 0.7328 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/1.07, allocations: 8.011 MB / 0.7407 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003786/1.074, allocations: 0.6501 MB / 0.7413 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.075, allocations: 54.09 kB / 0.7413 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/1.078, allocations: 147.8 kB / 0.7415 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008192/1.079, allocations: 179.2 kB / 0.7417 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004652/1.079, allocations: 83.98 kB / 0.7417 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005758/1.085, allocations: 1.783 MB / 0.7435 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.085, allocations: 0 / 0.7435 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01023/1.095, allocations: 1.108 MB / 0.7446 GB, free: 1.945 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.001188/1.097, allocations: 198.5 kB / 0.7447 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01342/1.11, allocations: 5.857 MB / 0.7505 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.316e-05/1.11, allocations: 4 kB / 0.7505 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004442/1.114, allocations: 2.109 MB / 0.7525 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/1.119, allocations: 326.8 kB / 0.7528 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3851/1.504, allocations: 11.88 MB / 0.7644 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/1.515, allocations: 3.301 MB / 0.7677 GB, free: 196 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008041/1.524, allocations: 2.151 MB / 0.7698 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.525, allocations: 230.1 kB / 0.77 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.725e-06/1.525, allocations: 1.156 kB / 0.77 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.07904/1.604, allocations: 34.13 MB / 0.8033 GB, free: 182.6 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.040719589218497]