Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008111/0.0008111, allocations: 87.62 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.189/0.189, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.225e-05, allocations: 0 / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08584, allocations: 63.25 MB / 0.5114 GB, free: 6.777 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.435, allocations: 107.6 MB / 0.6165 GB, free: 2.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4352, allocations: 75.52 kB / 0.6166 GB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1807/0.616, allocations: 80.29 MB / 0.695 GB, free: 10.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.616, allocations: 0 / 0.695 GB, free: 10.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001528/0.6162, allocations: 72 kB / 0.695 GB, free: 9.984 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.00901/0.6252, allocations: 3.488 MB / 0.6984 GB, free: 6.434 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6253, allocations: 8.031 kB / 0.6984 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.6392, allocations: 3.356 MB / 0.7017 GB, free: 3.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005713/0.645, allocations: 2.293 MB / 0.704 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.6452, allocations: 307.8 kB / 0.7043 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.6467, allocations: 387.9 kB / 0.7046 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.6628, allocations: 10.4 MB / 0.7148 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.028e-05/0.663, allocations: 51.52 kB / 0.7148 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005332/0.6635, allocations: 195.9 kB / 0.715 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/0.6647, allocations: 1.107 MB / 0.7161 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.6785, allocations: 9.024 MB / 0.7249 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2917/0.9703, allocations: 46.21 MB / 0.77 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005533/0.9758, allocations: 3.366 MB / 0.7733 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.9775, allocations: 1.208 MB / 0.7745 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007937/0.9855, allocations: 5.042 MB / 0.7794 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.9855, allocations: 51.45 kB / 0.7795 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=150): time 3.146e-06/0.9855, allocations: 3.844 kB / 0.7795 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=150): time 0.005447/0.991, allocations: 2.511 MB / 0.7819 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.991, allocations: 168.7 kB / 0.7821 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/0.9956, allocations: 3.408 MB / 0.7854 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.9957, allocations: 43.02 kB / 0.7855 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.997, allocations: 3.232 MB / 0.7886 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.9975, allocations: 0.6049 MB / 0.7892 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.9976, allocations: 128.2 kB / 0.7893 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.9979, allocations: 0.5793 MB / 0.7899 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.9999, allocations: 1.87 MB / 0.7917 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/1.003, allocations: 6.018 MB / 0.7976 GB, free: 98.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/1.007, allocations: 3.417 MB / 0.8009 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.837e-05/1.007, allocations: 42.78 kB / 0.801 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.00912/1.016, allocations: 7.546 MB / 0.8083 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.157e-05/1.016, allocations: 72.27 kB / 0.8084 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.016, allocations: 147.4 kB / 0.8085 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/1.016, allocations: 217.2 kB / 0.8088 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/1.02, allocations: 1.463 MB / 0.8102 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001462/1.02, allocations: 288.5 kB / 0.8105 GB, free: 97.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/1.024, allocations: 0.9094 MB / 0.8113 GB, free: 96.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000435/1.025, allocations: 406.6 kB / 0.8117 GB, free: 96.52 MB / 0.5261 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.0005417/1.025, allocations: 0.5794 MB / 0.8123 GB, free: 96.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/1.025, allocations: 310 kB / 0.8126 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/1.026, allocations: 422 kB / 0.813 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/1.026, allocations: 38.5 kB / 0.813 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/1.026, allocations: 0 / 0.813 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.026, allocations: 10.47 kB / 0.813 GB, free: 95.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007816/1.034, allocations: 5.585 MB / 0.8185 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.034, allocations: 5.594 kB / 0.8185 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/1.035, allocations: 210.8 kB / 0.8187 GB, free: 93.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/1.035, allocations: 9.75 kB / 0.8187 GB, free: 93.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/1.035, allocations: 35.55 kB / 0.8187 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.035, allocations: 10.72 kB / 0.8188 GB, free: 93.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.035, allocations: 11.11 kB / 0.8188 GB, free: 93.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/1.037, allocations: 3.098 MB / 0.8218 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/1.038, allocations: 387.8 kB / 0.8222 GB, free: 91.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/1.038, allocations: 37.17 kB / 0.8222 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/1.039, allocations: 71.11 kB / 0.8223 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.039, allocations: 74.73 kB / 0.8223 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/1.039, allocations: 49.23 kB / 0.8224 GB, free: 91.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002842/1.042, allocations: 2.307 MB / 0.8246 GB, free: 90.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/1.042, allocations: 0 / 0.8246 GB, free: 90.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004335/1.047, allocations: 1.109 MB / 0.8257 GB, free: 90.04 MB / 0.5261 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.0003265/1.047, allocations: 153.6 kB / 0.8259 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005275/1.052, allocations: 4.321 MB / 0.8301 GB, free: 88.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.052, allocations: 4.5 kB / 0.8301 GB, free: 88.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008943/1.053, allocations: 0.937 MB / 0.831 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.054, allocations: 334.6 kB / 0.8313 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.065, allocations: 6.944 MB / 0.8381 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003274/1.068, allocations: 3.295 MB / 0.8413 GB, free: 84.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004634/1.073, allocations: 2.24 MB / 0.8435 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/1.073, allocations: 222.2 kB / 0.8437 GB, free: 82.63 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/1.073, allocations: 0 / 0.8437 GB, free: 82.63 MB / 0.5261 GB Notification: Performance of Templates: time 0.03873/1.112, allocations: 23.9 MB / 0.8671 GB, free: 67.98 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches