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.001774/0.001774, allocations: 183.4 kB / 18.09 MB, free: 3.625 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.303/1.303, allocations: 223.3 MB / 242.1 MB, free: 9.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007326/0.0007326, allocations: 98.41 kB / 293.3 MB, free: 10.57 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.3176/0.3176, allocations: 44.15 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003693, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3856, allocations: 61.87 MB / 0.5107 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.5236, allocations: 106.8 MB / 0.615 GB, free: 4.293 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.524, allocations: 87.94 kB / 0.6151 GB, free: 4.211 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4915/1.015, allocations: 77.87 MB / 0.6911 GB, free: 99.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.759e-06/1.016, allocations: 0 / 0.6911 GB, free: 99.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001797/1.016, allocations: 73.17 kB / 0.6912 GB, free: 99.71 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.01177/1.028, allocations: 3.489 MB / 0.6946 GB, free: 98.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.028, allocations: 10.94 kB / 0.6946 GB, free: 98.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/1.04, allocations: 3.354 MB / 0.6979 GB, free: 97.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006123/1.046, allocations: 2.327 MB / 0.7001 GB, free: 97.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/1.047, allocations: 302 kB / 0.7004 GB, free: 97.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/1.049, allocations: 387.8 kB / 0.7008 GB, free: 97.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02027/1.069, allocations: 10.48 MB / 0.711 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002247/1.069, allocations: 46.5 kB / 0.7111 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001415/1.071, allocations: 195 kB / 0.7113 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001775/1.072, allocations: 1.103 MB / 0.7123 GB, free: 94.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02066/1.093, allocations: 9.135 MB / 0.7213 GB, free: 92.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/1.145, allocations: 46.21 MB / 0.7664 GB, free: 58.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005104/1.15, allocations: 3.37 MB / 0.7697 GB, free: 56.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/1.152, allocations: 1.22 MB / 0.7709 GB, free: 55.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00834/1.16, allocations: 5.027 MB / 0.7758 GB, free: 53.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/1.16, allocations: 53.97 kB / 0.7758 GB, free: 53.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 5.52e-06/1.16, allocations: 0 / 0.7758 GB, free: 53.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.006423/1.167, allocations: 3.311 MB / 0.7791 GB, free: 52.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.167, allocations: 170.4 kB / 0.7792 GB, free: 51.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005576/1.172, allocations: 3.842 MB / 0.783 GB, free: 50.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002246/1.173, allocations: 41.52 kB / 0.783 GB, free: 50.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/1.174, allocations: 3.234 MB / 0.7862 GB, free: 48.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000731/1.175, allocations: 0.6058 MB / 0.7868 GB, free: 47.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.175, allocations: 127.3 kB / 0.7869 GB, free: 47.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002972/1.176, allocations: 0.5806 MB / 0.7875 GB, free: 47.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/1.178, allocations: 1.909 MB / 0.7893 GB, free: 46.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004389/1.183, allocations: 6.087 MB / 0.7953 GB, free: 39.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009081/1.192, allocations: 8.741 MB / 0.8038 GB, free: 29.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/1.192, allocations: 44 kB / 0.8038 GB, free: 29.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01388/1.206, allocations: 7.618 MB / 0.8113 GB, free: 22.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/1.206, allocations: 68 kB / 0.8113 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.206, allocations: 148 kB / 0.8115 GB, free: 22.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/1.206, allocations: 196.1 kB / 0.8117 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/1.21, allocations: 1.469 MB / 0.8131 GB, free: 20.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001587/1.21, allocations: 289.5 kB / 0.8134 GB, free: 20.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/1.215, allocations: 0.9138 MB / 0.8143 GB, free: 19.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007082/1.216, allocations: 399.5 kB / 0.8147 GB, free: 19.4 MB / 490.7 MB 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 () * Number of clocked 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.003486/1.219, allocations: 2.231 MB / 0.8168 GB, free: 17.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/1.22, allocations: 307.9 kB / 0.8171 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/1.22, allocations: 415.3 kB / 0.8175 GB, free: 16.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.234e-05/1.22, allocations: 43.48 kB / 0.8176 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.22, allocations: 0 / 0.8176 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.22, allocations: 11.69 kB / 0.8176 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/1.228, allocations: 5.592 MB / 0.823 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.228, allocations: 8 kB / 0.823 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/1.229, allocations: 210.3 kB / 0.8232 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.229, allocations: 16 kB / 0.8233 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/1.229, allocations: 24 kB / 0.8233 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/1.229, allocations: 11.94 kB / 0.8233 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.229, allocations: 8 kB / 0.8233 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/1.232, allocations: 2.527 MB / 0.8258 GB, free: 9.297 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006638/1.233, allocations: 392.4 kB / 0.8261 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/1.233, allocations: 26.34 kB / 0.8262 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/1.234, allocations: 64.2 kB / 0.8262 GB, free: 8.836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.234, allocations: 84.44 kB / 0.8263 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/1.234, allocations: 40 kB / 0.8264 GB, free: 8.738 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003476/1.237, allocations: 2.344 MB / 0.8286 GB, free: 6.824 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.237, allocations: 0 / 0.8286 GB, free: 6.824 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004935/1.242, allocations: 1.106 MB / 0.8297 GB, free: 5.719 MB / 490.7 MB 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 () * Number of clocked 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.0003565/1.243, allocations: 165.4 kB / 0.8299 GB, free: 5.559 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006155/1.249, allocations: 4.362 MB / 0.8341 GB, free: 1.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.249, allocations: 8 kB / 0.8341 GB, free: 1.699 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.25, allocations: 0.9473 MB / 0.8351 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004541/1.255, allocations: 361.9 kB / 0.8354 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/1.275, allocations: 10.06 MB / 0.8452 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00503/1.28, allocations: 3.207 MB / 0.8484 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006264/1.287, allocations: 2.243 MB / 0.8506 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007218/1.288, allocations: 223.4 kB / 0.8508 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/1.288, allocations: 3.938 kB / 0.8508 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of Templates: time 0.05552/1.343, allocations: 23.91 MB / 0.8741 GB, free: 9.527 MB / 0.5261 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/jenkins1/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