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.001002/0.001002, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.000866, allocations: 93.38 kB / 292.2 MB, free: 10.92 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.3119/0.3119, allocations: 44.22 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3552, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4975, allocations: 107.8 MB / 0.6148 GB, free: 3.359 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4978, allocations: 79.95 kB / 0.6149 GB, free: 3.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.551/1.049, allocations: 115.6 MB / 0.7278 GB, free: 95.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.049, allocations: 0 / 0.7278 GB, free: 95.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002515/1.049, allocations: 86.72 kB / 0.7279 GB, free: 95.67 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01689/1.066, allocations: 4.555 MB / 0.7323 GB, free: 93.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/1.066, allocations: 10.19 kB / 0.7323 GB, free: 93.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/1.081, allocations: 3.613 MB / 0.7359 GB, free: 92.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.096, allocations: 4.632 MB / 0.7404 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004633/1.096, allocations: 359.5 kB / 0.7407 GB, free: 91.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0033/1.1, allocations: 478.3 kB / 0.7412 GB, free: 90.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0299/1.13, allocations: 11.83 MB / 0.7527 GB, free: 86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003233/1.13, allocations: 33.78 kB / 0.7528 GB, free: 85.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003013/1.133, allocations: 217.2 kB / 0.753 GB, free: 85.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002232/1.135, allocations: 1.324 MB / 0.7543 GB, free: 85.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/1.155, allocations: 11.14 MB / 0.7652 GB, free: 80.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05662/1.212, allocations: 41.16 MB / 0.8054 GB, free: 38.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008167/1.22, allocations: 4.71 MB / 0.81 GB, free: 33.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009677/1.221, allocations: 1.317 MB / 0.8112 GB, free: 32.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.221, allocations: 56.56 kB / 0.8113 GB, free: 32.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 6.202e-06/1.221, allocations: 0 / 0.8113 GB, free: 32.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.04025/1.262, allocations: 18.96 MB / 0.8298 GB, free: 13.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.262, allocations: 73.41 kB / 0.8299 GB, free: 13.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00499/1.267, allocations: 2.825 MB / 0.8326 GB, free: 10.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003588/1.267, allocations: 61.7 kB / 0.8327 GB, free: 10.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.269, allocations: 3.12 MB / 0.8357 GB, free: 7.008 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009652/1.27, allocations: 0.9725 MB / 0.8367 GB, free: 6.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/1.27, allocations: 116 kB / 0.8368 GB, free: 5.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004723/1.271, allocations: 0.566 MB / 0.8374 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.274, allocations: 2.432 MB / 0.8397 GB, free: 2.918 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/1.279, allocations: 5.672 MB / 0.8453 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005536/1.285, allocations: 3.708 MB / 0.8489 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/1.285, allocations: 32 kB / 0.8489 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01544/1.301, allocations: 8.917 MB / 0.8576 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.301, allocations: 56 kB / 0.8577 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001771/1.301, allocations: 112 kB / 0.8578 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/1.304, allocations: 1.06 MB / 0.8588 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/1.308, allocations: 1.341 MB / 0.8601 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007365/1.316, allocations: 5.22 MB / 0.8652 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004658/1.32, allocations: 315.8 kB / 0.8655 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/1.322, allocations: 340 kB / 0.8659 GB, free: 6.402 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 717 * 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.006518/1.328, allocations: 2.413 MB / 0.8682 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009172/1.329, allocations: 316 kB / 0.8685 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2713/1.601, allocations: 5.333 MB / 0.8737 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/1.601, allocations: 50.09 kB / 0.8738 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.601, allocations: 6.516 kB / 0.8738 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.001e-05/1.601, allocations: 9 kB / 0.8738 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01891/1.62, allocations: 13.06 MB / 0.8865 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.62, allocations: 12.56 kB / 0.8866 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/1.621, allocations: 423 kB / 0.887 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/1.624, allocations: 0.8855 MB / 0.8878 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/1.624, allocations: 54.7 kB / 0.8879 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/1.629, allocations: 4.579 MB / 0.8923 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.629, allocations: 15.78 kB / 0.8924 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.64, allocations: 9.02 MB / 0.9012 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008943/1.641, allocations: 361.9 kB / 0.9015 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/1.641, allocations: 57.84 kB / 0.9016 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.643, allocations: 140.7 kB / 0.9017 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.643, allocations: 166.4 kB / 0.9019 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.643, allocations: 81.17 kB / 0.9019 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002825/1.646, allocations: 1.932 MB / 0.9038 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.646, allocations: 0 / 0.9038 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004685/1.651, allocations: 1.092 MB / 0.9049 GB, free: 107.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (208): * Single equations (assignments): 201 * 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.0004884/1.651, allocations: 203.7 kB / 0.9051 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00905/1.66, allocations: 5.94 MB / 0.9109 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.66, allocations: 0 / 0.9109 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003299/1.664, allocations: 2.248 MB / 0.9131 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.666, allocations: 402.2 kB / 0.9135 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/1.689, allocations: 13.39 MB / 0.9266 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005755/1.695, allocations: 3.814 MB / 0.9303 GB, free: 96.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00515/1.7, allocations: 2.156 MB / 0.9324 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/1.701, allocations: 231.3 kB / 0.9326 GB, free: 96.12 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/1.701, allocations: 3.938 kB / 0.9326 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.0596/1.76, allocations: 34.79 MB / 0.9666 GB, free: 87.32 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