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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001216, allocations: 105.6 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.223/0.223, allocations: 43.54 MB / 314 MB, free: 0.5117 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 67.28 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1511, allocations: 57.8 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0182/0.1694, allocations: 15.74 MB / 456.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.1822, allocations: 4.498 MB / 460.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/0.1861, allocations: 83.81 kB / 460.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005479/0.1916, allocations: 2.254 MB / 463.1 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007835/0.1995, allocations: 2.07 MB / 465.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.2018, allocations: 0.62 MB / 465.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008984/0.2108, allocations: 4.45 MB / 470.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008261/0.2191, allocations: 3.217 MB / 473.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.224, allocations: 1.635 MB / 475.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006125/0.2302, allocations: 2.278 MB / 477.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002309/0.2325, allocations: 356 kB / 477.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.2365, allocations: 1.034 MB / 478.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004768/0.2413, allocations: 2.065 MB / 480.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006667/0.248, allocations: 2.485 MB / 483.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.2624, allocations: 7.71 MB / 491 MB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2625, allocations: 4 kB / 491 MB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2625, allocations: 0 / 491 MB, free: 4.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004158/0.2629, allocations: 0 / 491 MB, free: 4.191 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01805/0.281, allocations: 5.265 MB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.281, allocations: 11.89 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.2934, allocations: 3.195 MB / 499.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008142/0.3016, allocations: 2.452 MB / 0.4902 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004703/0.3021, allocations: 262.9 kB / 0.4904 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002616/0.3047, allocations: 351.6 kB / 0.4907 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02987/0.3346, allocations: 12.66 MB / 0.5031 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/0.3349, allocations: 31.75 kB / 0.5031 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00199/0.3369, allocations: 159.8 kB / 0.5033 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006722/0.3437, allocations: 3.024 MB / 0.5062 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02906/0.3728, allocations: 11.34 MB / 0.5173 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.402/0.7749, allocations: 42.29 MB / 0.5586 GB, free: 58.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.786, allocations: 4.707 MB / 0.5632 GB, free: 55.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/0.7896, allocations: 2.44 MB / 0.5656 GB, free: 54.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.7909, allocations: 1.316 MB / 0.5669 GB, free: 53.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.062e-05/0.791, allocations: 62.73 kB / 0.5669 GB, free: 53.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=250): time 7.624e-06/0.791, allocations: 2.531 kB / 0.5669 GB, free: 53.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=268): time 0.04959/0.8406, allocations: 19.51 MB / 0.586 GB, free: 41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.8408, allocations: 103 kB / 0.5861 GB, free: 40.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/0.8472, allocations: 3.27 MB / 0.5893 GB, free: 37.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003575/0.8476, allocations: 64.83 kB / 0.5893 GB, free: 37.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002164/0.8498, allocations: 3.282 MB / 0.5926 GB, free: 34.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001435/0.8512, allocations: 0.9783 MB / 0.5935 GB, free: 33.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002744/0.854, allocations: 1.211 MB / 0.5947 GB, free: 32.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.8541, allocations: 301.1 kB / 0.595 GB, free: 31.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/0.8576, allocations: 2.499 MB / 0.5974 GB, free: 29.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005302/0.8629, allocations: 5.889 MB / 0.6032 GB, free: 21.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.8733, allocations: 9.202 MB / 0.6122 GB, free: 10.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/0.8734, allocations: 36 kB / 0.6122 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01577/0.8892, allocations: 9.175 MB / 0.6211 GB, free: 1.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.8894, allocations: 57.25 kB / 0.6212 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000315/0.8898, allocations: 116 kB / 0.6213 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/0.893, allocations: 1.068 MB / 0.6224 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00531/0.8983, allocations: 1.396 MB / 0.6237 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008632/0.907, allocations: 5.538 MB / 0.6291 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0054/0.9124, allocations: 331.8 kB / 0.6294 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001457/0.9139, allocations: 356 kB / 0.6298 GB, free: 8.664 MB / 430.1 MB 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.007071/0.921, allocations: 2.489 MB / 0.6322 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/0.9223, allocations: 315.9 kB / 0.6325 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.934, allocations: 5.376 MB / 0.6378 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-05/0.9342, allocations: 59.83 kB / 0.6378 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.9342, allocations: 6.25 kB / 0.6378 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/0.9342, allocations: 15.95 kB / 0.6378 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03194/0.9662, allocations: 13.36 MB / 0.6509 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.055e-05/0.9663, allocations: 12 kB / 0.6509 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.9684, allocations: 427.4 kB / 0.6513 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/0.9715, allocations: 0.8872 MB / 0.6522 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003855/0.9719, allocations: 66.95 kB / 0.6522 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/0.9788, allocations: 4.834 MB / 0.657 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-05/0.9789, allocations: 16.05 kB / 0.657 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.9933, allocations: 8.038 MB / 0.6648 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/0.9957, allocations: 0.7312 MB / 0.6655 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009973/0.9967, allocations: 51.98 kB / 0.6656 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.9991, allocations: 147.8 kB / 0.6657 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/0.9998, allocations: 176.9 kB / 0.6659 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/1, allocations: 83.98 kB / 0.666 GB, free: 2.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005519/1.006, allocations: 2.014 MB / 0.6679 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/1.006, allocations: 0 / 0.6679 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008661/1.014, allocations: 1.112 MB / 0.669 GB, free: 15.83 MB / 478.1 MB 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.0009835/1.015, allocations: 193.7 kB / 0.6692 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01839/1.034, allocations: 9.73 MB / 0.6787 GB, free: 5.953 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-05/1.034, allocations: 0 / 0.6787 GB, free: 5.953 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00517/1.039, allocations: 2.258 MB / 0.6809 GB, free: 3.684 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006282/1.045, allocations: 446.1 kB / 0.6813 GB, free: 3.254 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03055/1.076, allocations: 11.74 MB / 0.6928 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007945/1.084, allocations: 3.834 MB / 0.6966 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007348/1.091, allocations: 2.181 MB / 0.6987 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.093, allocations: 247.4 kB / 0.6989 GB, free: 1.039 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/1.093, allocations: 0 / 0.6989 GB, free: 1.039 MB / 494.1 MB Notification: Performance of Templates: time 0.4017/1.494, allocations: 37.62 MB / 0.7357 GB, free: 159.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile (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) 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) Reference file matches