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.001607/0.001607, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.878/1.878, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.00112/0.00112, allocations: 92.42 kB / 270.9 MB, free: 8.395 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.5029/0.5029, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004771, allocations: 12 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.6113, allocations: 105.5 MB / 0.5817 GB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.6117, allocations: 79.97 kB / 0.5818 GB, free: 12.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3222/0.9339, allocations: 79.84 MB / 0.6598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.934, allocations: 0 / 0.6598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001814/0.9342, allocations: 71.98 kB / 0.6599 GB, free: 12.45 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01169/0.9459, allocations: 3.689 MB / 0.6635 GB, free: 8.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.9459, allocations: 8.031 kB / 0.6635 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02535/0.9713, allocations: 3.375 MB / 0.6668 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008616/0.98, allocations: 2.36 MB / 0.6691 GB, free: 2.887 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/0.9804, allocations: 308.1 kB / 0.6694 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/0.9828, allocations: 399.9 kB / 0.6697 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4147/1.398, allocations: 10.75 MB / 0.6802 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003639/1.398, allocations: 48.03 kB / 0.6803 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002771/1.401, allocations: 202.9 kB / 0.6805 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/1.405, allocations: 1.138 MB / 0.6816 GB, free: 94.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02552/1.43, allocations: 9.432 MB / 0.6908 GB, free: 94.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06946/1.5, allocations: 46.99 MB / 0.7367 GB, free: 63.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009602/1.509, allocations: 3.488 MB / 0.7401 GB, free: 61.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01569/1.525, allocations: 5.323 MB / 0.7453 GB, free: 59.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/1.525, allocations: 51.25 kB / 0.7453 GB, free: 59.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=153): time 5.591e-06/1.525, allocations: 0 / 0.7453 GB, free: 59.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=153): time 0.01243/1.538, allocations: 3.865 MB / 0.7491 GB, free: 57.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/1.538, allocations: 170.6 kB / 0.7493 GB, free: 57.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008475/1.546, allocations: 3.521 MB / 0.7527 GB, free: 56.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002823/1.547, allocations: 44.41 kB / 0.7528 GB, free: 56.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002718/1.549, allocations: 3.311 MB / 0.756 GB, free: 53.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000972/1.55, allocations: 0.6234 MB / 0.7566 GB, free: 53.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007987/1.551, allocations: 131.6 kB / 0.7567 GB, free: 53.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004601/1.552, allocations: 0.5904 MB / 0.7573 GB, free: 52.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/1.556, allocations: 1.945 MB / 0.7592 GB, free: 52.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007545/1.564, allocations: 6.214 MB / 0.7653 GB, free: 45.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007597/1.572, allocations: 3.485 MB / 0.7687 GB, free: 44.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/1.572, allocations: 43.41 kB / 0.7687 GB, free: 44.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01926/1.591, allocations: 7.728 MB / 0.7763 GB, free: 41.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/1.591, allocations: 74.28 kB / 0.7763 GB, free: 41.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002495/1.592, allocations: 149.8 kB / 0.7765 GB, free: 41.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/1.592, allocations: 223.3 kB / 0.7767 GB, free: 41.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008624/1.6, allocations: 1.505 MB / 0.7782 GB, free: 41.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002936/1.601, allocations: 301.1 kB / 0.7785 GB, free: 41.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006866/1.608, allocations: 0.9325 MB / 0.7794 GB, free: 40.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.609, allocations: 403.9 kB / 0.7798 GB, free: 40.57 MB / 490.7 MB 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 () * Number of clocked 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.005758/1.615, allocations: 2.282 MB / 0.782 GB, free: 39.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007178/1.616, allocations: 319 kB / 0.7823 GB, free: 39.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/1.617, allocations: 430 kB / 0.7827 GB, free: 39.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.6e-05/1.617, allocations: 45.91 kB / 0.7827 GB, free: 39.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/1.617, allocations: 3.719 kB / 0.7827 GB, free: 39.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.617, allocations: 3.703 kB / 0.7827 GB, free: 39.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/1.633, allocations: 5.757 MB / 0.7884 GB, free: 36.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.206e-05/1.633, allocations: 8.031 kB / 0.7884 GB, free: 36.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.635, allocations: 216.2 kB / 0.7886 GB, free: 36.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/1.635, allocations: 18.36 kB / 0.7886 GB, free: 36.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/1.635, allocations: 25.59 kB / 0.7886 GB, free: 36.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/1.635, allocations: 15.31 kB / 0.7886 GB, free: 36.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.635, allocations: 10.97 kB / 0.7886 GB, free: 36.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004579/1.64, allocations: 3.243 MB / 0.7918 GB, free: 34.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/1.641, allocations: 396.9 kB / 0.7922 GB, free: 34.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008552/1.642, allocations: 27.7 kB / 0.7922 GB, free: 34.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/1.644, allocations: 71.47 kB / 0.7923 GB, free: 34.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/1.644, allocations: 86.36 kB / 0.7924 GB, free: 34.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.644, allocations: 49.94 kB / 0.7924 GB, free: 34.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005671/1.65, allocations: 2.39 MB / 0.7948 GB, free: 33.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.312e-06/1.65, allocations: 0 / 0.7948 GB, free: 33.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006989/1.657, allocations: 1.138 MB / 0.7959 GB, free: 33.24 MB / 490.7 MB 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 () * Number of clocked 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.0006939/1.658, allocations: 167.1 kB / 0.796 GB, free: 33.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009817/1.668, allocations: 4.448 MB / 0.8004 GB, free: 31.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.668, allocations: 0 / 0.8004 GB, free: 31.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/1.67, allocations: 0.9623 MB / 0.8013 GB, free: 30.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.672, allocations: 330.4 kB / 0.8016 GB, free: 29.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.694, allocations: 10.77 MB / 0.8121 GB, free: 19.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006351/1.701, allocations: 3.371 MB / 0.8154 GB, free: 17.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.702, allocations: 281.8 kB / 0.8157 GB, free: 17.06 MB / 490.7 MB Notification: Performance of SimCode: time 2.104e-06/1.702, allocations: 0 / 0.8157 GB, free: 17.06 MB / 490.7 MB Notification: Performance of Templates: time 0.1136/1.816, allocations: 52.92 MB / 0.8674 GB, free: 2.992 MB / 0.5105 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