Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001996/0.001996, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 99.38 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5078/0.5078, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006808/0.000681, allocations: 8 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1302, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5087/0.6389, allocations: 106.2 MB / 0.5824 GB, free: 12.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.6393, allocations: 75.97 kB / 0.5825 GB, free: 12.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8116/1.451, allocations: 117.6 MB / 0.6974 GB, free: 93.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.976e-06/1.451, allocations: 0 / 0.6974 GB, free: 93.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002334/1.451, allocations: 95.08 kB / 0.6975 GB, free: 93.06 MB / 490.7 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.01848/1.47, allocations: 4.71 MB / 0.7021 GB, free: 90.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.47, allocations: 10.14 kB / 0.7021 GB, free: 90.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02856/1.498, allocations: 3.656 MB / 0.7057 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01813/1.516, allocations: 4.839 MB / 0.7104 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006381/1.517, allocations: 382.5 kB / 0.7108 GB, free: 90.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003427/1.521, allocations: 497.6 kB / 0.7112 GB, free: 90.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03974/1.56, allocations: 12.21 MB / 0.7232 GB, free: 88.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003815/1.561, allocations: 36.03 kB / 0.7232 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002913/1.564, allocations: 223.5 kB / 0.7234 GB, free: 88.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003328/1.567, allocations: 1.401 MB / 0.7248 GB, free: 88.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03181/1.599, allocations: 11.34 MB / 0.7359 GB, free: 85.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08624/1.685, allocations: 42.84 MB / 0.7777 GB, free: 59.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/1.7, allocations: 4.725 MB / 0.7823 GB, free: 56.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/1.702, allocations: 1.318 MB / 0.7836 GB, free: 55.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.702, allocations: 51.62 kB / 0.7836 GB, free: 55.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 7.083e-06/1.702, allocations: 4 kB / 0.7836 GB, free: 55.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=268): time 0.07254/1.774, allocations: 19.82 MB / 0.803 GB, free: 40.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/1.774, allocations: 99.11 kB / 0.8031 GB, free: 40.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006056/1.78, allocations: 2.914 MB / 0.8059 GB, free: 38.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005602/1.781, allocations: 69.47 kB / 0.806 GB, free: 38.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002217/1.783, allocations: 3.237 MB / 0.8092 GB, free: 35.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.785, allocations: 0.9818 MB / 0.8101 GB, free: 34.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007785/1.785, allocations: 119.7 kB / 0.8102 GB, free: 34.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004193/1.786, allocations: 0.5742 MB / 0.8108 GB, free: 33.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005796/1.792, allocations: 2.454 MB / 0.8132 GB, free: 31.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00802/1.8, allocations: 5.831 MB / 0.8189 GB, free: 24.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008038/1.808, allocations: 3.779 MB / 0.8226 GB, free: 21.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.939e-05/1.808, allocations: 32 kB / 0.8226 GB, free: 21.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02413/1.832, allocations: 8.99 MB / 0.8314 GB, free: 12.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/1.832, allocations: 60.03 kB / 0.8315 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/1.832, allocations: 120 kB / 0.8316 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/1.838, allocations: 1.065 MB / 0.8326 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008563/1.847, allocations: 1.392 MB / 0.834 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.857, allocations: 5.236 MB / 0.8391 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006029/1.863, allocations: 327.8 kB / 0.8394 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.865, allocations: 344 kB / 0.8397 GB, free: 3.348 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * 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 (746): * Single equations (assignments): 739 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006342/1.871, allocations: 2.482 MB / 0.8421 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000783/1.872, allocations: 331.7 kB / 0.8425 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01716/1.889, allocations: 5.345 MB / 0.8477 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000119/1.889, allocations: 51.23 kB / 0.8477 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.889, allocations: 4 kB / 0.8477 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.644e-05/1.889, allocations: 15.89 kB / 0.8478 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3963/2.286, allocations: 13.33 MB / 0.8608 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-05/2.286, allocations: 10.88 kB / 0.8608 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00392/2.29, allocations: 423.7 kB / 0.8612 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005312/2.295, allocations: 0.8875 MB / 0.862 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006302/2.296, allocations: 57.23 kB / 0.8621 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/2.306, allocations: 4.565 MB / 0.8666 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/2.306, allocations: 18.91 kB / 0.8666 GB, free: 94.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/2.327, allocations: 9.094 MB / 0.8755 GB, free: 92.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/2.329, allocations: 0.7324 MB / 0.8762 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000995/2.33, allocations: 51.52 kB / 0.8762 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/2.333, allocations: 153.2 kB / 0.8764 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007357/2.334, allocations: 166.2 kB / 0.8765 GB, free: 92.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/2.335, allocations: 80.14 kB / 0.8766 GB, free: 92.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004923/2.339, allocations: 1.991 MB / 0.8785 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.01e-07/2.34, allocations: 0 / 0.8785 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007294/2.347, allocations: 1.117 MB / 0.8796 GB, free: 92.48 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/2.348, allocations: 202.1 kB / 0.8798 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01363/2.362, allocations: 6.014 MB / 0.8857 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/2.362, allocations: 0 / 0.8857 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005253/2.367, allocations: 2.247 MB / 0.8879 GB, free: 92.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/2.37, allocations: 394.4 kB / 0.8883 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03425/2.404, allocations: 14.39 MB / 0.9023 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/2.415, allocations: 3.944 MB / 0.9062 GB, free: 85.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/2.417, allocations: 287.5 kB / 0.9065 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.432e-06/2.417, allocations: 0 / 0.9065 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.1511/2.568, allocations: 83.2 MB / 0.9877 GB, free: 47.25 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches