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.001019/0.001019, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008337, allocations: 95.03 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1914/0.1914, allocations: 45.15 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.335e-05/1.337e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08665, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.472, allocations: 107 MB / 0.6088 GB, free: 11.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4723, allocations: 78.2 kB / 0.6089 GB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1754/0.6477, allocations: 78.68 MB / 0.6857 GB, free: 5.156 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.6478, allocations: 4 kB / 0.6857 GB, free: 5.152 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001141/0.6479, allocations: 72 kB / 0.6858 GB, free: 5.082 MB / 474.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.006919/0.6548, allocations: 3.476 MB / 0.6892 GB, free: 1.543 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6549, allocations: 12.03 kB / 0.6892 GB, free: 1.531 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.6681, allocations: 3.36 MB / 0.6925 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.6732, allocations: 2.305 MB / 0.6947 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.6734, allocations: 128 kB / 0.6949 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008812/0.6743, allocations: 224 kB / 0.6951 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009248/0.6835, allocations: 6.478 MB / 0.7014 GB, free: 4.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.6991, allocations: 9.744 MB / 0.7109 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.6993, allocations: 47.56 kB / 0.711 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004979/0.6998, allocations: 28 kB / 0.711 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001379/0.7012, allocations: 1.108 MB / 0.7121 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.331/1.032, allocations: 45.33 MB / 0.7564 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/1.036, allocations: 2.736 MB / 0.759 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.037, allocations: 1.011 MB / 0.76 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/1.037, allocations: 21.92 kB / 0.76 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.037, allocations: 51.67 kB / 0.7601 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=171): time 4.007e-06/1.037, allocations: 2.875 kB / 0.7601 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=171): time 0.005864/1.043, allocations: 2.329 MB / 0.7624 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.541e-05/1.043, allocations: 167.9 kB / 0.7625 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007557/1.051, allocations: 3.072 MB / 0.7655 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/1.051, allocations: 29.02 kB / 0.7655 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.054, allocations: 3.287 MB / 0.7688 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009748/1.055, allocations: 0.6615 MB / 0.7694 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/1.055, allocations: 1.094 kB / 0.7694 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005188/1.056, allocations: 0.6575 MB / 0.77 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/1.058, allocations: 1.865 MB / 0.7719 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005247/1.064, allocations: 6.305 MB / 0.778 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00492/1.068, allocations: 3.506 MB / 0.7814 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/1.069, allocations: 46.25 kB / 0.7815 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.01072/1.079, allocations: 7.072 MB / 0.7884 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/1.079, allocations: 80.66 kB / 0.7885 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/1.08, allocations: 162.9 kB / 0.7886 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/1.08, allocations: 230.2 kB / 0.7888 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/1.084, allocations: 1.569 MB / 0.7904 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000162/1.084, allocations: 317.2 kB / 0.7907 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/1.089, allocations: 0.7955 MB / 0.7915 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008429/1.09, allocations: 431.2 kB / 0.7919 GB, free: 108.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 730 * 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 (855): * Single equations (assignments): 849 * 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.0007588/1.09, allocations: 482 kB / 0.7923 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/1.091, allocations: 305.2 kB / 0.7926 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/1.093, allocations: 1.743 MB / 0.7943 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-05/1.093, allocations: 43 kB / 0.7944 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.093, allocations: 3.438 kB / 0.7944 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.093, allocations: 7.828 kB / 0.7944 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007896/1.101, allocations: 5.542 MB / 0.7998 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.101, allocations: 10.61 kB / 0.7998 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/1.102, allocations: 230.1 kB / 0.8 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.102, allocations: 11.31 kB / 0.8 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.693e-05/1.102, allocations: 21.42 kB / 0.8 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/1.102, allocations: 15.53 kB / 0.8001 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.102, allocations: 10.97 kB / 0.8001 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/1.105, allocations: 3.374 MB / 0.8034 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/1.105, allocations: 365.6 kB / 0.8037 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002714/1.105, allocations: 11.44 kB / 0.8037 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/1.106, allocations: 46.72 kB / 0.8038 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.106, allocations: 90.39 kB / 0.8039 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/1.107, allocations: 54.56 kB / 0.8039 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002404/1.109, allocations: 2 MB / 0.8059 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.109, allocations: 0 / 0.8059 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004843/1.114, allocations: 1 MB / 0.8068 GB, free: 103.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 119 * 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.0003412/1.114, allocations: 142 kB / 0.807 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005846/1.12, allocations: 4.315 MB / 0.8112 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.12, allocations: 0 / 0.8112 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.121, allocations: 1.025 MB / 0.8122 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.122, allocations: 264.6 kB / 0.8124 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.136, allocations: 7.154 MB / 0.8194 GB, free: 98.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/1.139, allocations: 3.298 MB / 0.8227 GB, free: 97.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005014/1.144, allocations: 2.443 MB / 0.825 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/1.145, allocations: 222.4 kB / 0.8252 GB, free: 96.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/1.145, allocations: 0 / 0.8252 GB, free: 96.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.0367/1.181, allocations: 21.49 MB / 0.8462 GB, free: 84.22 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