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.001243/0.001243, allocations: 179.4 kB / 14.15 MB, free: 1.172 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.3 MB / 236 MB, free: 2.977 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.0008436/0.0008438, allocations: 93.86 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1756/0.1756, allocations: 44.14 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.589e-05, allocations: 4.219 kB / 451.8 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3796/0.503, allocations: 106.6 MB / 0.6058 GB, free: 14.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5033, allocations: 79.95 kB / 0.6059 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1808/0.6841, allocations: 78.94 MB / 0.6829 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.592e-06/0.6841, allocations: 0 / 0.6829 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001255/0.6843, allocations: 79.98 kB / 0.683 GB, free: 15 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: 1568 * Number of variables: 1568 Notification: Performance of Generate backend data structure: time 0.007478/0.6918, allocations: 3.475 MB / 0.6864 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6918, allocations: 8.031 kB / 0.6864 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.7054, allocations: 3.348 MB / 0.6897 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/0.7113, allocations: 2.301 MB / 0.6919 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.7116, allocations: 307.8 kB / 0.6922 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.7132, allocations: 391.9 kB / 0.6926 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01656/0.7298, allocations: 10.39 MB / 0.7028 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-05/0.7299, allocations: 51.56 kB / 0.7028 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006455/0.7305, allocations: 195.9 kB / 0.703 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00133/0.7319, allocations: 1.1 MB / 0.7041 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2645/0.9964, allocations: 9.022 MB / 0.7129 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04712/1.044, allocations: 46.22 MB / 0.758 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005189/1.049, allocations: 3.35 MB / 0.7613 GB, free: 99.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/1.05, allocations: 1.217 MB / 0.7625 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007512/1.058, allocations: 5.05 MB / 0.7674 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.058, allocations: 45.31 kB / 0.7674 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 4.077e-06/1.058, allocations: 0 / 0.7674 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=150): time 0.004949/1.063, allocations: 2.499 MB / 0.7699 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/1.063, allocations: 171.6 kB / 0.7701 GB, free: 96.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004263/1.067, allocations: 3.409 MB / 0.7734 GB, free: 95.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/1.067, allocations: 46.97 kB / 0.7734 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/1.069, allocations: 3.235 MB / 0.7766 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/1.069, allocations: 0.6015 MB / 0.7772 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/1.069, allocations: 128 kB / 0.7773 GB, free: 92.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002571/1.07, allocations: 0.5881 MB / 0.7779 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/1.072, allocations: 1.87 MB / 0.7797 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/1.075, allocations: 6.019 MB / 0.7856 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005113/1.08, allocations: 3.422 MB / 0.7889 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/1.081, allocations: 43.59 kB / 0.789 GB, free: 84.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01199/1.093, allocations: 7.542 MB / 0.7963 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/1.093, allocations: 73.09 kB / 0.7964 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.093, allocations: 147.3 kB / 0.7965 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/1.093, allocations: 213.5 kB / 0.7967 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003581/1.097, allocations: 1.466 MB / 0.7982 GB, free: 81.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/1.097, allocations: 292.7 kB / 0.7984 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.101, allocations: 0.9038 MB / 0.7993 GB, free: 80.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003972/1.101, allocations: 410.2 kB / 0.7997 GB, free: 80.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * 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 (794): * Single equations (assignments): 788 * 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.0005196/1.101, allocations: 0.5874 MB / 0.8003 GB, free: 79.97 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/1.102, allocations: 307.8 kB / 0.8006 GB, free: 79.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/1.103, allocations: 414.2 kB / 0.801 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.791e-05/1.103, allocations: 37.88 kB / 0.801 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.103, allocations: 3.562 kB / 0.801 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/1.103, allocations: 7.453 kB / 0.801 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/1.11, allocations: 5.59 MB / 0.8065 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.11, allocations: 15.67 kB / 0.8065 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/1.111, allocations: 200.6 kB / 0.8067 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/1.111, allocations: 11.34 kB / 0.8067 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/1.111, allocations: 31.2 kB / 0.8067 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/1.111, allocations: 14.19 kB / 0.8067 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.111, allocations: 11.47 kB / 0.8068 GB, free: 77.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/1.113, allocations: 3.083 MB / 0.8098 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/1.114, allocations: 389.6 kB / 0.8101 GB, free: 75.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/1.114, allocations: 28.3 kB / 0.8102 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/1.115, allocations: 62.23 kB / 0.8102 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.115, allocations: 83.88 kB / 0.8103 GB, free: 75.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.79e-05/1.115, allocations: 46.83 kB / 0.8104 GB, free: 75.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002988/1.118, allocations: 2.307 MB / 0.8126 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.118, allocations: 0 / 0.8126 GB, free: 74.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004302/1.123, allocations: 1.108 MB / 0.8137 GB, free: 73.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * 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.0003463/1.123, allocations: 164.8 kB / 0.8138 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005306/1.128, allocations: 4.318 MB / 0.8181 GB, free: 71.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.128, allocations: 0 / 0.8181 GB, free: 71.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009155/1.129, allocations: 0.9427 MB / 0.819 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.131, allocations: 328.8 kB / 0.8193 GB, free: 70.53 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/1.142, allocations: 6.954 MB / 0.8261 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002773/1.145, allocations: 3.296 MB / 0.8293 GB, free: 61.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005123/1.15, allocations: 2.239 MB / 0.8315 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/1.15, allocations: 223.1 kB / 0.8317 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/1.15, allocations: 0 / 0.8317 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.0406/1.191, allocations: 23.9 MB / 0.855 GB, free: 41.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