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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 168.8 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008916, allocations: 108.6 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1906/0.1906, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.765e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5715, allocations: 107 MB / 0.5992 GB, free: 5.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5718, allocations: 79.95 kB / 0.5993 GB, free: 5.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6286/1.2, allocations: 113.6 MB / 0.7102 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.689e-06/1.201, allocations: 0.6094 kB / 0.7102 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004759/1.201, allocations: 93.5 kB / 0.7102 GB, free: 115.6 MB / 0.4948 GB 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.01693/1.218, allocations: 4.304 MB / 0.7145 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.218, allocations: 16.83 kB / 0.7145 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/1.235, allocations: 3.613 MB / 0.718 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01559/1.25, allocations: 4.604 MB / 0.7225 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/1.251, allocations: 158.1 kB / 0.7226 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003173/1.254, allocations: 278.4 kB / 0.7229 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01548/1.269, allocations: 8.225 MB / 0.7309 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/1.296, allocations: 10.87 MB / 0.7416 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003218/1.296, allocations: 40.83 kB / 0.7416 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002525/1.299, allocations: 17.28 kB / 0.7416 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001905/1.301, allocations: 1.32 MB / 0.7429 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06966/1.37, allocations: 38.4 MB / 0.7804 GB, free: 88.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004957/1.375, allocations: 4.361 MB / 0.7847 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/1.378, allocations: 2.357 MB / 0.787 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009286/1.379, allocations: 1.313 MB / 0.7882 GB, free: 83.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.379, allocations: 56.5 kB / 0.7883 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=251): time 5.009e-06/1.379, allocations: 0 / 0.7883 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=270): time 0.02939/1.408, allocations: 17.97 MB / 0.8059 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/1.409, allocations: 73.41 kB / 0.8059 GB, free: 67.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/1.412, allocations: 2.574 MB / 0.8084 GB, free: 65.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004033/1.412, allocations: 25.7 kB / 0.8085 GB, free: 65.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.414, allocations: 3.217 MB / 0.8116 GB, free: 62.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009913/1.415, allocations: 0.9607 MB / 0.8125 GB, free: 61.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.415, allocations: 0 / 0.8125 GB, free: 61.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003112/1.416, allocations: 0.5804 MB / 0.8131 GB, free: 61.19 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/1.418, allocations: 2.363 MB / 0.8154 GB, free: 59.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004155/1.423, allocations: 5.843 MB / 0.8211 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/1.427, allocations: 3.739 MB / 0.8248 GB, free: 48.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.405e-05/1.427, allocations: 36 kB / 0.8248 GB, free: 48.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=834) (initialization): time 0.01453/1.442, allocations: 8.393 MB / 0.833 GB, free: 41.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.879e-05/1.442, allocations: 63.19 kB / 0.8331 GB, free: 41.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/1.442, allocations: 131.1 kB / 0.8332 GB, free: 41.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002832/1.445, allocations: 1.069 MB / 0.8342 GB, free: 40.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/1.45, allocations: 1.433 MB / 0.8356 GB, free: 39.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/1.456, allocations: 4.867 MB / 0.8404 GB, free: 34.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/1.46, allocations: 207.8 kB / 0.8406 GB, free: 34.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/1.462, allocations: 368 kB / 0.8409 GB, free: 33.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 563 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.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.arrowLine.twoHeadedArrow,axis2.headAtOrigin,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 (772): * Single equations (assignments): 765 * 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.001243/1.463, allocations: 434.8 kB / 0.8413 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/1.464, allocations: 300.1 kB / 0.8416 GB, free: 32.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007677/1.472, allocations: 5.173 MB / 0.8467 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/1.472, allocations: 47.98 kB / 0.8467 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.472, allocations: 4 kB / 0.8467 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/1.472, allocations: 7.969 kB / 0.8467 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/1.491, allocations: 11.82 MB / 0.8583 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/1.491, allocations: 12 kB / 0.8583 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.493, allocations: 435.3 kB / 0.8587 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/1.495, allocations: 0.8752 MB / 0.8596 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/1.495, allocations: 20 kB / 0.8596 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004585/1.5, allocations: 4.225 MB / 0.8637 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/1.5, allocations: 18.28 kB / 0.8637 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009816/1.51, allocations: 8.899 MB / 0.8724 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/1.511, allocations: 349.1 kB / 0.8728 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004917/1.511, allocations: 19.98 kB / 0.8728 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/1.513, allocations: 111.8 kB / 0.8729 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003501/1.513, allocations: 169.5 kB / 0.873 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/1.513, allocations: 79.98 kB / 0.8731 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002951/1.516, allocations: 1.684 MB / 0.8748 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/1.516, allocations: 3.938 kB / 0.8748 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007056/1.523, allocations: 0.9531 MB / 0.8757 GB, free: 13.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (211): * Single equations (assignments): 204 * 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.0008673/1.524, allocations: 167.9 kB / 0.8759 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009431/1.534, allocations: 5.741 MB / 0.8815 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.534, allocations: 4 kB / 0.8815 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002965/1.537, allocations: 2.179 MB / 0.8836 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.539, allocations: 289.2 kB / 0.8839 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3402/1.879, allocations: 9.465 MB / 0.8931 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00956/1.889, allocations: 3.808 MB / 0.8968 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007953/1.897, allocations: 2.257 MB / 0.899 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.898, allocations: 232.5 kB / 0.8993 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.173e-06/1.898, allocations: 0 / 0.8993 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.06536/1.963, allocations: 30.74 MB / 0.9293 GB, free: 113.2 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile (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) 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches