Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 170.4 kB / 8.74 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.316/1.316, 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.001048/0.001048, allocations: 88.66 kB / 281.6 MB, free: 5.332 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.195/0.195, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.663e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 61.91 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.6144, allocations: 105.9 MB / 0.5981 GB, free: 6.582 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.6147, allocations: 75.97 kB / 0.5982 GB, free: 6.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2345/0.8491, allocations: 77.32 MB / 0.6737 GB, free: 8.504 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8492, allocations: 0 / 0.6737 GB, free: 8.504 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001608/0.8494, allocations: 76 kB / 0.6738 GB, free: 8.43 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.01158/0.861, allocations: 3.476 MB / 0.6771 GB, free: 4.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.861, allocations: 15.92 kB / 0.6772 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.8756, allocations: 3.348 MB / 0.6804 GB, free: 1.516 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0067/0.8823, allocations: 2.297 MB / 0.6827 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.8826, allocations: 124 kB / 0.6828 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.8844, allocations: 228 kB / 0.683 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01326/0.8977, allocations: 6.486 MB / 0.6893 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.9194, allocations: 9.74 MB / 0.6989 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/0.9196, allocations: 43.56 kB / 0.6989 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/0.9212, allocations: 36 kB / 0.6989 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001827/0.923, allocations: 1.1 MB / 0.7 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3881/1.311, allocations: 45.34 MB / 0.7443 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/1.314, allocations: 2.742 MB / 0.747 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/1.316, allocations: 1.009 MB / 0.7479 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.615e-05/1.316, allocations: 17.28 kB / 0.748 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.316, allocations: 52.92 kB / 0.748 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 3.927e-06/1.316, allocations: 0 / 0.748 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=171): time 0.005133/1.321, allocations: 2.326 MB / 0.7503 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/1.321, allocations: 174.4 kB / 0.7505 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005877/1.327, allocations: 3.072 MB / 0.7535 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/1.328, allocations: 27.33 kB / 0.7535 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.33, allocations: 3.286 MB / 0.7567 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008224/1.331, allocations: 0.6676 MB / 0.7573 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/1.331, allocations: 2.406 kB / 0.7573 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004332/1.331, allocations: 0.659 MB / 0.758 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/1.334, allocations: 1.871 MB / 0.7598 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/1.339, allocations: 6.296 MB / 0.766 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004422/1.343, allocations: 3.5 MB / 0.7694 GB, free: 99.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-05/1.343, allocations: 44.22 kB / 0.7694 GB, free: 99.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.01053/1.354, allocations: 7.074 MB / 0.7763 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/1.354, allocations: 73.09 kB / 0.7764 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/1.354, allocations: 162.6 kB / 0.7766 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/1.354, allocations: 230.8 kB / 0.7768 GB, free: 96.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/1.358, allocations: 1.575 MB / 0.7783 GB, free: 96.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001627/1.358, allocations: 309.5 kB / 0.7786 GB, free: 96.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/1.363, allocations: 0.7969 MB / 0.7794 GB, free: 95.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005591/1.363, allocations: 434.7 kB / 0.7798 GB, free: 95.85 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 730 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (855): * Single equations (assignments): 849 * 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.0006375/1.364, allocations: 489.6 kB / 0.7803 GB, free: 95.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/1.364, allocations: 305.9 kB / 0.7806 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/1.367, allocations: 1.744 MB / 0.7823 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.573e-05/1.367, allocations: 36.45 kB / 0.7823 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.367, allocations: 0 / 0.7823 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.367, allocations: 10.53 kB / 0.7823 GB, free: 94.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007939/1.375, allocations: 5.542 MB / 0.7877 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.375, allocations: 6 kB / 0.7877 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009753/1.376, allocations: 235.8 kB / 0.7879 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/1.376, allocations: 19.48 kB / 0.788 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/1.376, allocations: 10.44 kB / 0.788 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.376, allocations: 19.83 kB / 0.788 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.376, allocations: 11.78 kB / 0.788 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.378, allocations: 3.371 MB / 0.7913 GB, free: 90.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005769/1.379, allocations: 365.7 kB / 0.7916 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.379, allocations: 11.19 kB / 0.7917 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/1.38, allocations: 48.88 kB / 0.7917 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.38, allocations: 105.5 kB / 0.7918 GB, free: 89.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/1.38, allocations: 50.25 kB / 0.7919 GB, free: 89.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00259/1.383, allocations: 1.997 MB / 0.7938 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.242e-06/1.383, allocations: 0 / 0.7938 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005486/1.389, allocations: 0.9904 MB / 0.7948 GB, free: 89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * 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.000467/1.389, allocations: 159.9 kB / 0.7949 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007446/1.397, allocations: 4.304 MB / 0.7991 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.397, allocations: 0 / 0.7991 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/1.398, allocations: 1.026 MB / 0.8001 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.4, allocations: 266.8 kB / 0.8004 GB, free: 87.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.414, allocations: 7.166 MB / 0.8074 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003118/1.417, allocations: 3.292 MB / 0.8106 GB, free: 80.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005293/1.422, allocations: 2.439 MB / 0.813 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/1.423, allocations: 227.1 kB / 0.8132 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/1.423, allocations: 0 / 0.8132 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.04227/1.465, allocations: 21.48 MB / 0.8342 GB, free: 66.22 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches