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.0009124/0.0009126, allocations: 179 kB / 18.09 MB, free: 3.75 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.281/1.281, allocations: 223.3 MB / 242.1 MB, free: 9.863 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.0008905/0.0008905, allocations: 98.06 kB / 293.3 MB, free: 10.53 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.3275/0.3275, allocations: 44.15 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.359, allocations: 61.87 MB / 0.5107 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4948, allocations: 107.9 MB / 0.6161 GB, free: 3.148 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4951, allocations: 79.95 kB / 0.6161 GB, free: 3.074 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5743/1.069, allocations: 114.4 MB / 0.7279 GB, free: 95.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.567e-06/1.07, allocations: 0 / 0.7279 GB, free: 95.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001884/1.07, allocations: 97.97 kB / 0.728 GB, free: 95.83 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.0132/1.083, allocations: 4.437 MB / 0.7323 GB, free: 93.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.083, allocations: 7.719 kB / 0.7323 GB, free: 93.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/1.097, allocations: 3.583 MB / 0.7358 GB, free: 93.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007912/1.105, allocations: 3.543 MB / 0.7393 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/1.105, allocations: 364.1 kB / 0.7396 GB, free: 91.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/1.108, allocations: 475.5 kB / 0.7401 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02205/1.13, allocations: 11.77 MB / 0.7516 GB, free: 86.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/1.13, allocations: 34.5 kB / 0.7516 GB, free: 86.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/1.131, allocations: 218 kB / 0.7518 GB, free: 86.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001558/1.133, allocations: 1.323 MB / 0.7531 GB, free: 85.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0213/1.154, allocations: 11.04 MB / 0.7639 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05438/1.209, allocations: 41.11 MB / 0.804 GB, free: 41.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007826/1.217, allocations: 4.688 MB / 0.8086 GB, free: 36.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/1.219, allocations: 2.435 MB / 0.811 GB, free: 33.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/1.22, allocations: 1.317 MB / 0.8123 GB, free: 32.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/1.22, allocations: 60.5 kB / 0.8123 GB, free: 32.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 5.16e-06/1.22, allocations: 4 kB / 0.8123 GB, free: 32.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=267): time 0.0379/1.258, allocations: 18.44 MB / 0.8303 GB, free: 13.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/1.258, allocations: 73.41 kB / 0.8304 GB, free: 13.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/1.262, allocations: 3.156 MB / 0.8335 GB, free: 10.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004151/1.263, allocations: 61.7 kB / 0.8335 GB, free: 10.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.264, allocations: 3.122 MB / 0.8366 GB, free: 7.293 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000858/1.265, allocations: 0.9734 MB / 0.8375 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/1.265, allocations: 119.8 kB / 0.8377 GB, free: 6.215 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002545/1.265, allocations: 0.5582 MB / 0.8382 GB, free: 5.648 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/1.268, allocations: 2.432 MB / 0.8406 GB, free: 3.211 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005047/1.273, allocations: 5.692 MB / 0.8461 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.284, allocations: 8.938 MB / 0.8549 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/1.284, allocations: 32 kB / 0.8549 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01773/1.302, allocations: 8.91 MB / 0.8636 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.302, allocations: 52 kB / 0.8637 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.302, allocations: 116.9 kB / 0.8638 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/1.305, allocations: 1.051 MB / 0.8648 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004503/1.309, allocations: 1.345 MB / 0.8661 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006857/1.316, allocations: 5.087 MB / 0.8711 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/1.32, allocations: 311.8 kB / 0.8714 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2724/1.593, allocations: 343.3 kB / 0.8717 GB, free: 112.9 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.006458/1.599, allocations: 2.396 MB / 0.874 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/1.6, allocations: 320 kB / 0.8743 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008617/1.609, allocations: 5.334 MB / 0.8795 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.323e-05/1.609, allocations: 47.03 kB / 0.8796 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.609, allocations: 2.562 kB / 0.8796 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.609, allocations: 17.08 kB / 0.8796 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.628, allocations: 13.06 MB / 0.8924 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.628, allocations: 11.19 kB / 0.8924 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.63, allocations: 422.6 kB / 0.8928 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.632, allocations: 0.8877 MB / 0.8936 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.633, allocations: 59.31 kB / 0.8937 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005521/1.638, allocations: 4.422 MB / 0.898 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.479e-05/1.638, allocations: 16.97 kB / 0.898 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.65, allocations: 7.967 MB / 0.9058 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/1.651, allocations: 369.8 kB / 0.9062 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/1.651, allocations: 52.86 kB / 0.9062 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.652, allocations: 144.1 kB / 0.9064 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/1.653, allocations: 172.7 kB / 0.9065 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.653, allocations: 76.14 kB / 0.9066 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003448/1.656, allocations: 1.933 MB / 0.9085 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.656, allocations: 0 / 0.9085 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006014/1.662, allocations: 1.094 MB / 0.9096 GB, free: 105.8 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.0006188/1.663, allocations: 206.1 kB / 0.9098 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009031/1.672, allocations: 5.935 MB / 0.9155 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/1.672, allocations: 3.797 kB / 0.9156 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003132/1.675, allocations: 2.252 MB / 0.9177 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006574/1.682, allocations: 429.7 kB / 0.9182 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/1.7, allocations: 13.43 MB / 0.9313 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003712/1.704, allocations: 3.713 MB / 0.9349 GB, free: 94.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004629/1.709, allocations: 2.155 MB / 0.937 GB, free: 94.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007652/1.709, allocations: 232.3 kB / 0.9372 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/1.709, allocations: 0 / 0.9372 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.06105/1.77, allocations: 34.89 MB / 0.9713 GB, free: 82.25 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/jenkins1/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