Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002182/0.002182, allocations: 180.6 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.066/2.066, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001156/0.001156, allocations: 90.62 kB / 267.5 MB, free: 14.04 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.2796/0.2796, allocations: 43.48 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.655e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/0.6306, allocations: 105.4 MB / 0.5757 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.6309, allocations: 79.98 kB / 0.5758 GB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3409/0.9718, allocations: 79.91 MB / 0.6538 GB, free: 6.242 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9719, allocations: 0 / 0.6538 GB, free: 6.242 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002015/0.9721, allocations: 76 kB / 0.6539 GB, free: 6.168 MB / 458.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.01345/0.9856, allocations: 3.578 MB / 0.6574 GB, free: 2.523 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.9857, allocations: 8.031 kB / 0.6574 GB, free: 2.516 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02608/1.012, allocations: 3.375 MB / 0.6607 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009113/1.021, allocations: 2.348 MB / 0.663 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004752/1.021, allocations: 312 kB / 0.6633 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002667/1.024, allocations: 403.9 kB / 0.6637 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03297/1.057, allocations: 10.68 MB / 0.6741 GB, free: 384 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002298/1.057, allocations: 43.56 kB / 0.6742 GB, free: 340 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002394/1.06, allocations: 203.8 kB / 0.6744 GB, free: 136 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003107/1.063, allocations: 1.135 MB / 0.6755 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02899/1.092, allocations: 9.287 MB / 0.6845 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4275/1.52, allocations: 46.98 MB / 0.7304 GB, free: 96.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009774/1.529, allocations: 3.463 MB / 0.7338 GB, free: 95.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003303/1.533, allocations: 1.246 MB / 0.735 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/1.549, allocations: 5.324 MB / 0.7402 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.549, allocations: 50.3 kB / 0.7403 GB, free: 93.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 5.59e-06/1.549, allocations: 0 / 0.7403 GB, free: 93.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=153): time 0.01012/1.559, allocations: 2.531 MB / 0.7427 GB, free: 93.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/1.559, allocations: 170.4 kB / 0.7429 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008339/1.568, allocations: 3.484 MB / 0.7463 GB, free: 93.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/1.568, allocations: 43.89 kB / 0.7463 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002896/1.571, allocations: 3.315 MB / 0.7496 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009999/1.572, allocations: 0.6185 MB / 0.7502 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007961/1.573, allocations: 128.6 kB / 0.7503 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005114/1.573, allocations: 0.5928 MB / 0.7509 GB, free: 90.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.578, allocations: 1.904 MB / 0.7527 GB, free: 90.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008416/1.587, allocations: 6.177 MB / 0.7588 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008104/1.595, allocations: 3.486 MB / 0.7622 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002047/1.595, allocations: 45.47 kB / 0.7622 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.0198/1.615, allocations: 7.646 MB / 0.7697 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/1.615, allocations: 70.62 kB / 0.7698 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002134/1.616, allocations: 152.3 kB / 0.7699 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/1.616, allocations: 226.5 kB / 0.7701 GB, free: 83.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009153/1.625, allocations: 1.509 MB / 0.7716 GB, free: 83.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003395/1.625, allocations: 297.2 kB / 0.7719 GB, free: 83.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007657/1.633, allocations: 0.932 MB / 0.7728 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.635, allocations: 406 kB / 0.7732 GB, free: 83.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (816): * Single equations (assignments): 810 * 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.001933/1.636, allocations: 0.604 MB / 0.7738 GB, free: 82.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/1.637, allocations: 315.5 kB / 0.7741 GB, free: 82.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/1.639, allocations: 429 kB / 0.7745 GB, free: 82.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001069/1.639, allocations: 48.42 kB / 0.7745 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/1.639, allocations: 3.812 kB / 0.7745 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.639, allocations: 3.422 kB / 0.7745 GB, free: 82.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.655, allocations: 5.75 MB / 0.7801 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.655, allocations: 7.219 kB / 0.7801 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.657, allocations: 219.7 kB / 0.7804 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-05/1.657, allocations: 14.97 kB / 0.7804 GB, free: 79.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/1.658, allocations: 24.92 kB / 0.7804 GB, free: 79.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/1.658, allocations: 20.06 kB / 0.7804 GB, free: 79.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.658, allocations: 10.02 kB / 0.7804 GB, free: 79.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/1.662, allocations: 3.22 MB / 0.7836 GB, free: 77.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.664, allocations: 395.1 kB / 0.7839 GB, free: 77.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008504/1.664, allocations: 27.19 kB / 0.784 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.667, allocations: 62.89 kB / 0.784 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/1.667, allocations: 89.44 kB / 0.7841 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/1.667, allocations: 47.83 kB / 0.7842 GB, free: 77.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006072/1.673, allocations: 2.361 MB / 0.7865 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.22e-07/1.673, allocations: 0 / 0.7865 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007167/1.681, allocations: 1.144 MB / 0.7876 GB, free: 76.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * 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.0007062/1.681, allocations: 161.2 kB / 0.7877 GB, free: 76.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.692, allocations: 4.412 MB / 0.792 GB, free: 74.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.692, allocations: 0 / 0.792 GB, free: 74.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.694, allocations: 0.9479 MB / 0.793 GB, free: 74.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/1.696, allocations: 326.7 kB / 0.7933 GB, free: 74.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/1.718, allocations: 7.623 MB / 0.8007 GB, free: 70.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007251/1.725, allocations: 3.365 MB / 0.804 GB, free: 68.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.727, allocations: 290.2 kB / 0.8043 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.644e-06/1.727, allocations: 0 / 0.8043 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.1021/1.829, allocations: 52.92 MB / 0.856 GB, free: 24.51 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches