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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.002366/0.002367, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00273/0.00273, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.089/2.089, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4354/0.4354, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003215/0.003215, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8229, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03242/0.8595, allocations: 11.93 MB / 0.5433 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01743/0.877, allocations: 4.067 MB / 0.5473 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005834/0.8829, allocations: 79.81 kB / 0.5474 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00626/0.8893, allocations: 1.673 MB / 0.549 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007543/0.897, allocations: 1.55 MB / 0.5505 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.9009, allocations: 1.177 MB / 0.5516 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007759/0.9087, allocations: 3.502 MB / 0.5551 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00545/0.9142, allocations: 2.466 MB / 0.5575 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.9172, allocations: 1.148 MB / 0.5586 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.9213, allocations: 1.561 MB / 0.5601 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.9227, allocations: 240 kB / 0.5604 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.9261, allocations: 0.7138 MB / 0.561 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003027/0.9292, allocations: 1.554 MB / 0.5626 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00432/0.9335, allocations: 1.859 MB / 0.5644 GB, free: 96 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.9466, allocations: 6.142 MB / 0.5704 GB, free: 9.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.9467, allocations: 0 / 0.5704 GB, free: 9.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.9467, allocations: 0 / 0.5704 GB, free: 9.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002927/0.947, allocations: 0 / 0.5704 GB, free: 9.926 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1539 * Number of variables: 1539 Notification: Performance of Generate backend data structure: time 0.01553/0.9625, allocations: 4.109 MB / 0.5744 GB, free: 5.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.85e-05/0.9626, allocations: 8.031 kB / 0.5744 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/0.9807, allocations: 2.989 MB / 0.5773 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00733/0.9881, allocations: 1.82 MB / 0.5791 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.9885, allocations: 197.1 kB / 0.5793 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.9902, allocations: 247.8 kB / 0.5795 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02967/1.02, allocations: 10.03 MB / 0.5893 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/1.02, allocations: 31.75 kB / 0.5893 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001642/1.022, allocations: 131.8 kB / 0.5895 GB, free: 5.586 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006841/1.029, allocations: 2.314 MB / 0.5917 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/1.058, allocations: 8.926 MB / 0.6004 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09025/1.148, allocations: 37.6 MB / 0.6372 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.159, allocations: 3.379 MB / 0.6405 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003439/1.162, allocations: 1.231 MB / 0.6417 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/1.18, allocations: 5.192 MB / 0.6467 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.095e-05/1.18, allocations: 51 kB / 0.6468 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 9.538e-06/1.18, allocations: 0 / 0.6468 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.01727/1.198, allocations: 3.346 MB / 0.6501 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.198, allocations: 166.8 kB / 0.6502 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/1.21, allocations: 3.837 MB / 0.654 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003656/1.21, allocations: 45.7 kB / 0.654 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004657/1.215, allocations: 3.321 MB / 0.6573 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/1.217, allocations: 0.6243 MB / 0.6579 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004558/1.221, allocations: 1.318 MB / 0.6591 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.221, allocations: 301.1 kB / 0.6594 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005675/1.227, allocations: 1.953 MB / 0.6613 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/1.238, allocations: 6.108 MB / 0.6673 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.018/1.256, allocations: 8.8 MB / 0.6759 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002665/1.256, allocations: 44 kB / 0.6759 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02607/1.282, allocations: 7.714 MB / 0.6835 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003037/1.283, allocations: 71.94 kB / 0.6835 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004006/1.283, allocations: 148 kB / 0.6837 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/1.284, allocations: 192 kB / 0.6839 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009274/1.293, allocations: 1.458 MB / 0.6853 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006496/1.294, allocations: 286.9 kB / 0.6856 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/1.304, allocations: 0.9388 MB / 0.6865 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00247/1.307, allocations: 404 kB / 0.6869 GB, free: 12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 23 (freeMotion.arrow.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 (791): * Single equations (assignments): 783 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008367/1.315, allocations: 2.195 MB / 0.689 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.317, allocations: 325.7 kB / 0.6893 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/1.319, allocations: 407.1 kB / 0.6897 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-05/1.319, allocations: 3.984 kB / 0.6897 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/1.319, allocations: 4.312 kB / 0.6897 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.32, allocations: 386.4 kB / 0.6901 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.322, allocations: 20 kB / 0.6901 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.324, allocations: 67.91 kB / 0.6902 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/1.325, allocations: 56.48 kB / 0.6902 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005932/1.33, allocations: 2.263 MB / 0.6924 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005495/1.336, allocations: 2.518 MB / 0.6949 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001921/1.338, allocations: 0.8719 MB / 0.6957 GB, free: 2.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00822/1.346, allocations: 2.342 MB / 0.698 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of Backend: time 3.106e-06/1.346, allocations: 0 / 0.698 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01696/1.363, allocations: 3.765 MB / 0.7017 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 0.03021/1.394, allocations: 8.408 MB / 0.7099 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of Templates: time 0.7406/2.134, allocations: 32.64 MB / 0.7418 GB, free: 174.6 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches