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.001426/0.001431, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 81.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3002/0.3002, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.517e-05, allocations: 8.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4045, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.6026, allocations: 105.5 MB / 0.5689 GB, free: 9.812 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.6029, allocations: 75.97 kB / 0.569 GB, free: 9.738 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8007/1.404, allocations: 115.5 MB / 0.6817 GB, free: 110.4 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.575e-06/1.404, allocations: 0 / 0.6817 GB, free: 110.4 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002313/1.404, allocations: 90.62 kB / 0.6818 GB, free: 110.4 MB / 475.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.01729/1.421, allocations: 4.457 MB / 0.6862 GB, free: 108 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/1.421, allocations: 11.62 kB / 0.6862 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02712/1.448, allocations: 3.656 MB / 0.6898 GB, free: 107.6 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01864/1.467, allocations: 4.817 MB / 0.6945 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/1.468, allocations: 162.3 kB / 0.6946 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003276/1.471, allocations: 291.9 kB / 0.6949 GB, free: 105.8 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02058/1.491, allocations: 8.457 MB / 0.7032 GB, free: 102.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03113/1.523, allocations: 11.22 MB / 0.7141 GB, free: 94.26 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/1.523, allocations: 35.66 kB / 0.7142 GB, free: 94.23 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002536/1.526, allocations: 19.94 kB / 0.7142 GB, free: 94.21 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/1.529, allocations: 1.397 MB / 0.7155 GB, free: 92.81 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08373/1.613, allocations: 39.84 MB / 0.7544 GB, free: 52.43 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/1.62, allocations: 4.364 MB / 0.7587 GB, free: 47.82 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004694/1.625, allocations: 2.374 MB / 0.761 GB, free: 45.45 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/1.627, allocations: 1.322 MB / 0.7623 GB, free: 43.92 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.627, allocations: 52.56 kB / 0.7624 GB, free: 43.86 MB / 475.1 MB Notification: Performance of pre-optimization done (n=252): time 6.933e-06/1.627, allocations: 4 kB / 0.7624 GB, free: 43.85 MB / 475.1 MB Notification: Performance of matching and sorting (n=271): time 0.05993/1.687, allocations: 18.84 MB / 0.7808 GB, free: 24.89 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/1.687, allocations: 103.1 kB / 0.7809 GB, free: 24.77 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006101/1.693, allocations: 2.665 MB / 0.7835 GB, free: 22.1 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006113/1.694, allocations: 29.7 kB / 0.7835 GB, free: 22.07 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00266/1.696, allocations: 3.377 MB / 0.7868 GB, free: 18.64 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.698, allocations: 0.9672 MB / 0.7877 GB, free: 17.66 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007557/1.699, allocations: 0 / 0.7877 GB, free: 17.66 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0005602/1.699, allocations: 0.5878 MB / 0.7883 GB, free: 17.06 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00597/1.705, allocations: 2.395 MB / 0.7906 GB, free: 14.66 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008483/1.714, allocations: 6.046 MB / 0.7966 GB, free: 6.797 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008665/1.723, allocations: 3.821 MB / 0.8003 GB, free: 2.969 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.723, allocations: 36 kB / 0.8003 GB, free: 2.934 MB / 475.1 MB Notification: Performance of matching and sorting (n=862) (initialization): time 0.02651/1.749, allocations: 8.522 MB / 0.8086 GB, free: 10.4 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.75, allocations: 64.25 kB / 0.8087 GB, free: 10.34 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002033/1.75, allocations: 128 kB / 0.8088 GB, free: 10.21 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005821/1.756, allocations: 1.078 MB / 0.8099 GB, free: 9.133 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009728/1.765, allocations: 1.482 MB / 0.8113 GB, free: 7.648 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.777, allocations: 4.869 MB / 0.8161 GB, free: 2.656 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/1.784, allocations: 219.9 kB / 0.8163 GB, free: 2.441 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.786, allocations: 379.9 kB / 0.8167 GB, free: 2.074 MB / 491.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 793 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001456/1.787, allocations: 446.8 kB / 0.8171 GB, free: 1.629 MB / 491.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008525/1.788, allocations: 316 kB / 0.8174 GB, free: 1.316 MB / 491.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.804, allocations: 5.178 MB / 0.8224 GB, free: 12.07 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001412/1.804, allocations: 55.88 kB / 0.8225 GB, free: 12.02 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/1.804, allocations: 4 kB / 0.8225 GB, free: 12.01 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/1.804, allocations: 15.89 kB / 0.8225 GB, free: 12 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3882/2.192, allocations: 12 MB / 0.8342 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/2.193, allocations: 10.75 kB / 0.8342 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003874/2.196, allocations: 429.2 kB / 0.8346 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005108/2.202, allocations: 0.8802 MB / 0.8355 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004888/2.202, allocations: 28.16 kB / 0.8355 GB, free: 122.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008914/2.211, allocations: 4.225 MB / 0.8397 GB, free: 121 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.372e-05/2.211, allocations: 17.03 kB / 0.8397 GB, free: 121 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02125/2.232, allocations: 8.961 MB / 0.8484 GB, free: 118.8 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002815/2.235, allocations: 0.7187 MB / 0.8491 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007182/2.236, allocations: 21.83 kB / 0.8492 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/2.238, allocations: 115.7 kB / 0.8493 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/2.239, allocations: 167.5 kB / 0.8494 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/2.239, allocations: 85.97 kB / 0.8495 GB, free: 118.7 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.004144/2.244, allocations: 1.742 MB / 0.8512 GB, free: 118.6 MB / 0.4952 GB Notification: Performance of sort global known variables: time 6.91e-07/2.244, allocations: 0 / 0.8512 GB, free: 118.6 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.007793/2.251, allocations: 0.979 MB / 0.8522 GB, free: 118.6 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 205 * 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.0007882/2.252, allocations: 172 kB / 0.8523 GB, free: 118.5 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01389/2.266, allocations: 5.825 MB / 0.858 GB, free: 118.3 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/2.266, allocations: 0 / 0.858 GB, free: 118.3 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004608/2.271, allocations: 2.179 MB / 0.8601 GB, free: 118.2 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/2.273, allocations: 270.5 kB / 0.8604 GB, free: 118.2 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/2.298, allocations: 10.28 MB / 0.8704 GB, free: 114.9 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007269/2.305, allocations: 3.938 MB / 0.8743 GB, free: 113.5 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/2.307, allocations: 292.7 kB / 0.8746 GB, free: 113.4 MB / 0.4952 GB Notification: Performance of SimCode: time 1.453e-06/2.307, allocations: 0 / 0.8746 GB, free: 113.4 MB / 0.4952 GB Notification: Performance of Templates: time 0.1511/2.458, allocations: 81.72 MB / 0.9544 GB, free: 61.96 MB / 0.4952 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