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.001302/0.001302, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009354/0.0009356, allocations: 108.2 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3474/0.3474, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 8 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.334, allocations: 63.24 MB / 0.5192 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4627, allocations: 107.7 MB / 0.6244 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.463, allocations: 79.95 kB / 0.6244 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4357/0.8987, allocations: 80.21 MB / 0.7028 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8987, allocations: 1.188 kB / 0.7028 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001321/0.8989, allocations: 71.84 kB / 0.7028 GB, free: 100.6 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.007166/0.9061, allocations: 3.601 MB / 0.7064 GB, free: 99.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.9061, allocations: 9.062 kB / 0.7064 GB, free: 99.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.9179, allocations: 3.352 MB / 0.7096 GB, free: 98.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/0.9237, allocations: 2.314 MB / 0.7119 GB, free: 98.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.924, allocations: 301.2 kB / 0.7122 GB, free: 98.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.9251, allocations: 391.9 kB / 0.7126 GB, free: 98.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.939, allocations: 10.47 MB / 0.7228 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-05/0.9391, allocations: 48.09 kB / 0.7228 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00051/0.9396, allocations: 194.9 kB / 0.723 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001099/0.9407, allocations: 1.101 MB / 0.7241 GB, free: 95.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.9542, allocations: 9.166 MB / 0.733 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04285/0.9971, allocations: 46.23 MB / 0.7782 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/1.002, allocations: 3.378 MB / 0.7815 GB, free: 60.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008413/1.01, allocations: 5.044 MB / 0.7864 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.01, allocations: 50.64 kB / 0.7865 GB, free: 58.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=150): time 5.25e-06/1.01, allocations: 0 / 0.7865 GB, free: 58.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=150): time 0.006306/1.016, allocations: 3.833 MB / 0.7902 GB, free: 56.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/1.017, allocations: 169.8 kB / 0.7904 GB, free: 56.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006268/1.023, allocations: 3.438 MB / 0.7937 GB, free: 55.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/1.023, allocations: 42.72 kB / 0.7938 GB, free: 54.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.025, allocations: 3.236 MB / 0.7969 GB, free: 52.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005769/1.025, allocations: 0.6071 MB / 0.7975 GB, free: 52.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/1.026, allocations: 132.8 kB / 0.7976 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004129/1.026, allocations: 0.5769 MB / 0.7982 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/1.029, allocations: 1.911 MB / 0.8001 GB, free: 50.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/1.033, allocations: 6.056 MB / 0.806 GB, free: 44.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003981/1.037, allocations: 3.418 MB / 0.8093 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.712e-05/1.037, allocations: 43.25 kB / 0.8094 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=842) (initialization): time 0.009884/1.047, allocations: 7.622 MB / 0.8168 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.237e-05/1.047, allocations: 68.56 kB / 0.8169 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/1.047, allocations: 153.1 kB / 0.817 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/1.047, allocations: 217 kB / 0.8172 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/1.051, allocations: 1.465 MB / 0.8187 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001495/1.051, allocations: 287.9 kB / 0.8189 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004108/1.055, allocations: 0.9043 MB / 0.8198 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005097/1.055, allocations: 409.7 kB / 0.8202 GB, free: 38.9 MB / 0.4948 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 () * 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.003039/1.059, allocations: 2.223 MB / 0.8224 GB, free: 36.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/1.059, allocations: 307.9 kB / 0.8227 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/1.06, allocations: 417.3 kB / 0.8231 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.253e-05/1.06, allocations: 47.91 kB / 0.8231 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/1.06, allocations: 4 kB / 0.8231 GB, free: 36.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/1.06, allocations: 6.328 kB / 0.8231 GB, free: 36.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007827/1.068, allocations: 5.599 MB / 0.8286 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.068, allocations: 4 kB / 0.8286 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/1.069, allocations: 202.5 kB / 0.8288 GB, free: 31.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.069, allocations: 11.75 kB / 0.8288 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.431e-05/1.069, allocations: 32.56 kB / 0.8288 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.069, allocations: 8 kB / 0.8288 GB, free: 31.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.069, allocations: 11.94 kB / 0.8289 GB, free: 31.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/1.071, allocations: 3.109 MB / 0.8319 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007118/1.072, allocations: 387.2 kB / 0.8323 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/1.072, allocations: 32.31 kB / 0.8323 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/1.073, allocations: 66.11 kB / 0.8324 GB, free: 27.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.073, allocations: 78.88 kB / 0.8324 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/1.073, allocations: 44.78 kB / 0.8325 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002776/1.076, allocations: 2.34 MB / 0.8348 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.076, allocations: 4 kB / 0.8348 GB, free: 25.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004413/1.08, allocations: 1.104 MB / 0.8358 GB, free: 24.54 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.0003348/1.081, allocations: 157.1 kB / 0.836 GB, free: 24.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004806/1.086, allocations: 4.369 MB / 0.8403 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.086, allocations: 1.938 kB / 0.8403 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000838/1.086, allocations: 0.9539 MB / 0.8412 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/1.088, allocations: 325.5 kB / 0.8415 GB, free: 19.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/1.101, allocations: 10.01 MB / 0.8513 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/1.105, allocations: 3.294 MB / 0.8545 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004873/1.109, allocations: 2.234 MB / 0.8567 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/1.11, allocations: 221.7 kB / 0.8569 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of SimCode: time 1.422e-06/1.11, allocations: 0 / 0.8569 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of Templates: time 0.04495/1.155, allocations: 23.9 MB / 0.8802 GB, free: 168 kB / 0.5105 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