Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_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_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 193.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 244.1 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008113/0.0008114, allocations: 98.59 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3238/0.3238, allocations: 44.82 MB / 392.9 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3359, allocations: 62.96 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4659, allocations: 107.7 MB / 0.6216 GB, free: 13.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4662, allocations: 79.95 kB / 0.6217 GB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3915/0.8578, allocations: 78.7 MB / 0.6986 GB, free: 103 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.8578, allocations: 0 / 0.6986 GB, free: 103 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.858, allocations: 72.55 kB / 0.6986 GB, free: 103 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.008359/0.8663, allocations: 3.5 MB / 0.702 GB, free: 101.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.8664, allocations: 11.34 kB / 0.7021 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.8796, allocations: 3.349 MB / 0.7053 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006385/0.886, allocations: 2.328 MB / 0.7076 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.8864, allocations: 301 kB / 0.7079 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.8885, allocations: 392.7 kB / 0.7083 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.9081, allocations: 10.48 MB / 0.7185 GB, free: 97.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002842/0.9084, allocations: 45.5 kB / 0.7185 GB, free: 97.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001532/0.9099, allocations: 198.6 kB / 0.7187 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001613/0.9116, allocations: 1.096 MB / 0.7198 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.9266, allocations: 9.135 MB / 0.7287 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04683/0.9735, allocations: 46.2 MB / 0.7738 GB, free: 59.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004583/0.9781, allocations: 3.38 MB / 0.7771 GB, free: 57.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.9797, allocations: 1.231 MB / 0.7783 GB, free: 57.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007603/0.9873, allocations: 5.019 MB / 0.7832 GB, free: 53.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.9874, allocations: 51.12 kB / 0.7833 GB, free: 53.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 5.74e-06/0.9874, allocations: 0 / 0.7833 GB, free: 53.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=150): time 0.00594/0.9934, allocations: 3.318 MB / 0.7865 GB, free: 50.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.9935, allocations: 170.8 kB / 0.7867 GB, free: 50.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005013/0.9985, allocations: 3.832 MB / 0.7904 GB, free: 47.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.9987, allocations: 49.64 kB / 0.7905 GB, free: 47.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1, allocations: 3.229 MB / 0.7936 GB, free: 44.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005645/1.001, allocations: 0.6082 MB / 0.7942 GB, free: 43.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/1.001, allocations: 124 kB / 0.7943 GB, free: 43.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002669/1.001, allocations: 0.5805 MB / 0.7949 GB, free: 43.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/1.004, allocations: 1.908 MB / 0.7968 GB, free: 41.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/1.007, allocations: 6.091 MB / 0.8027 GB, free: 33.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007224/1.015, allocations: 8.738 MB / 0.8113 GB, free: 22.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/1.015, allocations: 40 kB / 0.8113 GB, free: 22.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=842) (initialization): time 0.01183/1.027, allocations: 7.631 MB / 0.8187 GB, free: 14.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/1.027, allocations: 68 kB / 0.8188 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.027, allocations: 148 kB / 0.8189 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/1.027, allocations: 196 kB / 0.8191 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00386/1.031, allocations: 1.465 MB / 0.8206 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001436/1.031, allocations: 290.9 kB / 0.8208 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004298/1.035, allocations: 0.9086 MB / 0.8217 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006335/1.036, allocations: 396 kB / 0.8221 GB, free: 11.47 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.003256/1.039, allocations: 2.222 MB / 0.8243 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/1.04, allocations: 311.9 kB / 0.8246 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/1.04, allocations: 419.4 kB / 0.825 GB, free: 8.516 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-05/1.04, allocations: 32 kB / 0.825 GB, free: 8.484 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.04, allocations: 7.984 kB / 0.825 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.04, allocations: 7.922 kB / 0.825 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007991/1.048, allocations: 5.602 MB / 0.8305 GB, free: 2.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.049, allocations: 4 kB / 0.8305 GB, free: 2.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000845/1.049, allocations: 211.6 kB / 0.8307 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/1.049, allocations: 8.469 kB / 0.8307 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.101e-05/1.049, allocations: 27.98 kB / 0.8307 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/1.049, allocations: 12 kB / 0.8307 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.05, allocations: 11.94 kB / 0.8308 GB, free: 2.492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/1.052, allocations: 2.522 MB / 0.8332 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/1.053, allocations: 396.5 kB / 0.8336 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/1.053, allocations: 27.89 kB / 0.8336 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/1.054, allocations: 62.42 kB / 0.8337 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.054, allocations: 80.34 kB / 0.8338 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/1.054, allocations: 44 kB / 0.8338 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004161/1.059, allocations: 2.35 MB / 0.8361 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.8e-07/1.059, allocations: 0 / 0.8361 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005157/1.064, allocations: 1.1 MB / 0.8372 GB, free: 11.84 MB / 0.4948 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 () * 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.0004602/1.064, allocations: 158.2 kB / 0.8373 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006923/1.071, allocations: 4.371 MB / 0.8416 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.071, allocations: 0 / 0.8416 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/1.072, allocations: 0.9462 MB / 0.8425 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/1.077, allocations: 354 kB / 0.8429 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.093, allocations: 10.55 MB / 0.8532 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/1.097, allocations: 3.212 MB / 0.8563 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009501/1.097, allocations: 275.4 kB / 0.8566 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/1.097, allocations: 0 / 0.8566 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of Templates: time 0.3009/1.398, allocations: 52.32 MB / 0.9076 GB, free: 125.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches