Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001418/0.001418, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.497/1.497, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009881/0.0009881, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2306/0.2306, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6353, allocations: 106.2 MB / 0.5825 GB, free: 9.871 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.6357, allocations: 80.38 kB / 0.5825 GB, free: 9.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3023/0.938, allocations: 117.7 MB / 0.6974 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/0.938, allocations: 3.938 kB / 0.6974 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002158/0.9383, allocations: 88 kB / 0.6975 GB, free: 11.61 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.0175/0.9558, allocations: 4.709 MB / 0.7021 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.9558, allocations: 12.02 kB / 0.7021 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.9721, allocations: 3.655 MB / 0.7057 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3357/1.308, allocations: 4.831 MB / 0.7104 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006725/1.309, allocations: 379.6 kB / 0.7108 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004069/1.313, allocations: 0.4888 MB / 0.7113 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03678/1.35, allocations: 12.22 MB / 0.7232 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/1.35, allocations: 38.92 kB / 0.7232 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009863/1.351, allocations: 223.8 kB / 0.7234 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002431/1.353, allocations: 1.398 MB / 0.7248 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/1.38, allocations: 11.33 MB / 0.7359 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07268/1.453, allocations: 42.85 MB / 0.7777 GB, free: 88.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009706/1.462, allocations: 4.724 MB / 0.7823 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/1.464, allocations: 1.319 MB / 0.7836 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.653e-05/1.464, allocations: 52.28 kB / 0.7837 GB, free: 85.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 9.999e-06/1.464, allocations: 0 / 0.7837 GB, free: 85.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=268): time 0.04637/1.51, allocations: 19.84 MB / 0.803 GB, free: 78.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/1.51, allocations: 106.5 kB / 0.8031 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006627/1.517, allocations: 2.903 MB / 0.806 GB, free: 76.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005625/1.517, allocations: 66.34 kB / 0.806 GB, free: 76.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.52, allocations: 3.273 MB / 0.8092 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.521, allocations: 0.9787 MB / 0.8102 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007188/1.522, allocations: 123.9 kB / 0.8103 GB, free: 72.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005622/1.522, allocations: 0.5621 MB / 0.8109 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003987/1.526, allocations: 2.462 MB / 0.8133 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/1.532, allocations: 5.833 MB / 0.819 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005385/1.537, allocations: 3.768 MB / 0.8226 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/1.537, allocations: 32 kB / 0.8227 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.01651/1.554, allocations: 9.08 MB / 0.8315 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/1.554, allocations: 62.16 kB / 0.8316 GB, free: 52.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000281/1.555, allocations: 120 kB / 0.8317 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003185/1.558, allocations: 1.063 MB / 0.8327 GB, free: 51.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005252/1.563, allocations: 1.394 MB / 0.8341 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/1.57, allocations: 5.233 MB / 0.8392 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/1.576, allocations: 322.2 kB / 0.8395 GB, free: 45.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.577, allocations: 351 kB / 0.8399 GB, free: 44.86 MB / 0.4948 GB 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.007274/1.584, allocations: 2.478 MB / 0.8423 GB, free: 42.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.586, allocations: 319.8 kB / 0.8426 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.597, allocations: 5.355 MB / 0.8478 GB, free: 38.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.547e-05/1.597, allocations: 51.7 kB / 0.8479 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/1.598, allocations: 7.891 kB / 0.8479 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-05/1.598, allocations: 11.34 kB / 0.8479 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/1.626, allocations: 13.32 MB / 0.8609 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/1.626, allocations: 15.95 kB / 0.8609 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.628, allocations: 429 kB / 0.8613 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/1.631, allocations: 0.8957 MB / 0.8622 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004273/1.631, allocations: 55.62 kB / 0.8622 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/1.637, allocations: 4.567 MB / 0.8667 GB, free: 21.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/1.637, allocations: 15.94 kB / 0.8667 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/1.649, allocations: 9.093 MB / 0.8756 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/1.652, allocations: 0.7351 MB / 0.8763 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008601/1.653, allocations: 59.81 kB / 0.8764 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.654, allocations: 135.8 kB / 0.8765 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003974/1.655, allocations: 173.5 kB / 0.8767 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.655, allocations: 79.98 kB / 0.8767 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004062/1.659, allocations: 1.994 MB / 0.8787 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.659, allocations: 0 / 0.8787 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006915/1.666, allocations: 1.122 MB / 0.8798 GB, free: 7.312 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.0007758/1.667, allocations: 202.6 kB / 0.88 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008921/1.676, allocations: 6.008 MB / 0.8858 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.676, allocations: 4 kB / 0.8858 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.679, allocations: 2.248 MB / 0.888 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/1.682, allocations: 400.5 kB / 0.8884 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03052/1.713, allocations: 13.84 MB / 0.9019 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2814/1.994, allocations: 3.933 MB / 0.9058 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006993/2.001, allocations: 2.18 MB / 0.9079 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009254/2.002, allocations: 238.3 kB / 0.9081 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.475e-06/2.002, allocations: 2.625 kB / 0.9081 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.07082/2.073, allocations: 35.09 MB / 0.9424 GB, free: 111.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches