Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001004, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.753/1.753, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007835/0.0007835, allocations: 90.28 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1965/0.1965, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.559e-05, allocations: 4 kB / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 58.86 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5049/0.6546, allocations: 104.8 MB / 0.5682 GB, free: 6.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.655, allocations: 80.36 kB / 0.5683 GB, free: 6.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1908/0.8458, allocations: 78.23 MB / 0.6447 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.8459, allocations: 4 kB / 0.6447 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001523/0.846, allocations: 71.98 kB / 0.6448 GB, free: 0.5781 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01054/0.8566, allocations: 3.567 MB / 0.6482 GB, free: 12.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.8567, allocations: 8.031 kB / 0.6483 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.871, allocations: 3.379 MB / 0.6516 GB, free: 9.547 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.8779, allocations: 2.348 MB / 0.6538 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.8781, allocations: 128 kB / 0.654 GB, free: 7.023 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.8795, allocations: 232 kB / 0.6542 GB, free: 6.797 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0115/0.891, allocations: 6.69 MB / 0.6607 GB, free: 100 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/0.9131, allocations: 10.01 MB / 0.6705 GB, free: 5.125 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002973/0.9134, allocations: 47.56 kB / 0.6705 GB, free: 5.078 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002385/0.9158, allocations: 28 kB / 0.6706 GB, free: 5.051 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001956/0.9178, allocations: 1.14 MB / 0.6717 GB, free: 3.906 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4397/1.358, allocations: 45.96 MB / 0.7166 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/1.362, allocations: 2.785 MB / 0.7193 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/1.363, allocations: 1.031 MB / 0.7203 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/1.364, allocations: 20.31 kB / 0.7203 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/1.364, allocations: 52.08 kB / 0.7204 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=179): time 7.033e-06/1.364, allocations: 3.828 kB / 0.7204 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=179): time 0.005732/1.369, allocations: 2.386 MB / 0.7227 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/1.37, allocations: 179.2 kB / 0.7229 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008618/1.378, allocations: 3.122 MB / 0.7259 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004676/1.379, allocations: 26.58 kB / 0.7259 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003623/1.382, allocations: 3.372 MB / 0.7292 GB, free: 104 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.384, allocations: 0.6957 MB / 0.7299 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/1.385, allocations: 0.9375 kB / 0.7299 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008758/1.385, allocations: 0.6613 MB / 0.7306 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/1.389, allocations: 1.91 MB / 0.7324 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005986/1.395, allocations: 6.455 MB / 0.7387 GB, free: 97.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005914/1.401, allocations: 3.577 MB / 0.7422 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/1.402, allocations: 46.38 kB / 0.7423 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=928) (initialization): time 0.01719/1.419, allocations: 7.246 MB / 0.7493 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.419, allocations: 80.22 kB / 0.7494 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002407/1.419, allocations: 162.3 kB / 0.7496 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/1.42, allocations: 239.3 kB / 0.7498 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005659/1.425, allocations: 1.613 MB / 0.7514 GB, free: 96.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000267/1.426, allocations: 318.2 kB / 0.7517 GB, free: 96.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006845/1.432, allocations: 0.8305 MB / 0.7525 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/1.434, allocations: 437.6 kB / 0.7529 GB, free: 95.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 21 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (880): * Single equations (assignments): 874 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002379/1.437, allocations: 0.4901 MB / 0.7534 GB, free: 95.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.438, allocations: 308.7 kB / 0.7537 GB, free: 95.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/1.442, allocations: 1.886 MB / 0.7555 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-05/1.442, allocations: 43.58 kB / 0.7556 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/1.442, allocations: 3.938 kB / 0.7556 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.442, allocations: 3.797 kB / 0.7556 GB, free: 95.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.457, allocations: 5.751 MB / 0.7612 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-05/1.457, allocations: 13.09 kB / 0.7612 GB, free: 93.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.458, allocations: 245.5 kB / 0.7614 GB, free: 93.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-05/1.458, allocations: 18.19 kB / 0.7615 GB, free: 93.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/1.459, allocations: 16.12 kB / 0.7615 GB, free: 93.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/1.459, allocations: 18.78 kB / 0.7615 GB, free: 93.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.459, allocations: 12.19 kB / 0.7615 GB, free: 93.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/1.463, allocations: 3.616 MB / 0.765 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.464, allocations: 374.3 kB / 0.7654 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000861/1.465, allocations: 14.52 kB / 0.7654 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.466, allocations: 47.55 kB / 0.7654 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.466, allocations: 108.4 kB / 0.7655 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.467, allocations: 57.06 kB / 0.7656 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005486/1.472, allocations: 2.033 MB / 0.7676 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.11e-07/1.472, allocations: 0 / 0.7676 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00765/1.48, allocations: 1.032 MB / 0.7686 GB, free: 90.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007077/1.481, allocations: 145.7 kB / 0.7687 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00785/1.488, allocations: 4.393 MB / 0.773 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/1.488, allocations: 0.5625 kB / 0.773 GB, free: 88.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/1.49, allocations: 1.057 MB / 0.7741 GB, free: 88.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/1.493, allocations: 256 kB / 0.7743 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.513, allocations: 7.362 MB / 0.7815 GB, free: 85.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007021/1.52, allocations: 3.371 MB / 0.7848 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007004/1.527, allocations: 2.482 MB / 0.7872 GB, free: 81.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.528, allocations: 230.2 kB / 0.7874 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of SimCode: time 9.31e-07/1.528, allocations: 0 / 0.7874 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.05087/1.579, allocations: 21.88 MB / 0.8088 GB, free: 68.57 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches