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.001667/0.001667, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002122/0.002122, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2672/0.2672, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3591, allocations: 62.44 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01379/0.3729, allocations: 11.92 MB / 0.5426 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008776/0.3817, allocations: 4.067 MB / 0.5466 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.3837, allocations: 79.59 kB / 0.5467 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003113/0.3869, allocations: 1.678 MB / 0.5483 GB, free: 88 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.3905, allocations: 1.514 MB / 0.5498 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.3925, allocations: 1.176 MB / 0.5509 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.397, allocations: 3.504 MB / 0.5544 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002783/0.3998, allocations: 2.463 MB / 0.5568 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.4013, allocations: 1.156 MB / 0.5579 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.403, allocations: 1.561 MB / 0.5594 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003939/0.4034, allocations: 240 kB / 0.5596 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.4047, allocations: 0.7138 MB / 0.5603 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.4059, allocations: 1.547 MB / 0.5619 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.4072, allocations: 1.867 MB / 0.5637 GB, free: 264 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005159/0.4124, allocations: 6.118 MB / 0.5697 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4124, allocations: 0 / 0.5697 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4124, allocations: 0 / 0.5697 GB, free: 10.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.198e-05/0.4125, allocations: 0 / 0.5697 GB, free: 10.12 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.005576/0.4181, allocations: 3.985 MB / 0.5735 GB, free: 6.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4181, allocations: 11.97 kB / 0.5736 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009889/0.428, allocations: 2.967 MB / 0.5765 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/0.4315, allocations: 1.807 MB / 0.5782 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.4316, allocations: 193.1 kB / 0.5784 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/0.4321, allocations: 251.7 kB / 0.5786 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.4457, allocations: 10.05 MB / 0.5884 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.4458, allocations: 31.69 kB / 0.5885 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003657/0.4462, allocations: 127.8 kB / 0.5886 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003556/0.4497, allocations: 2.314 MB / 0.5909 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.4641, allocations: 8.919 MB / 0.5996 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04289/0.5071, allocations: 37.53 MB / 0.6362 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/0.5126, allocations: 3.372 MB / 0.6395 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.5143, allocations: 1.238 MB / 0.6407 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007866/0.5222, allocations: 5.175 MB / 0.6458 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.5223, allocations: 55 kB / 0.6458 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=150): time 4.438e-06/0.5223, allocations: 0 / 0.6458 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=150): time 0.006754/0.529, allocations: 3.317 MB / 0.6491 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5292, allocations: 170.7 kB / 0.6492 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005934/0.5351, allocations: 3.828 MB / 0.653 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.5352, allocations: 45.69 kB / 0.653 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002/0.5372, allocations: 3.173 MB / 0.6561 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.5377, allocations: 0.6098 MB / 0.6567 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.5391, allocations: 1.305 MB / 0.658 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.5392, allocations: 305.4 kB / 0.6583 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.5416, allocations: 1.949 MB / 0.6602 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005331/0.5469, allocations: 6.112 MB / 0.6661 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00893/0.5559, allocations: 8.788 MB / 0.6747 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.959e-05/0.556, allocations: 44 kB / 0.6748 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01173/0.5677, allocations: 7.697 MB / 0.6823 GB, free: 120 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.5678, allocations: 75.97 kB / 0.6824 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.568, allocations: 144 kB / 0.6825 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.5682, allocations: 200 kB / 0.6827 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.572, allocations: 1.454 MB / 0.6841 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002022/0.5723, allocations: 290.9 kB / 0.6844 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/0.5763, allocations: 0.9083 MB / 0.6853 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/0.5767, allocations: 404 kB / 0.6857 GB, free: 12.66 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.002931/0.5797, allocations: 2.191 MB / 0.6878 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.5801, allocations: 311.8 kB / 0.6881 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.5808, allocations: 411.1 kB / 0.6885 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.606e-05/0.5809, allocations: 39.97 kB / 0.6885 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.5809, allocations: 4 kB / 0.6885 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.5809, allocations: 7.922 kB / 0.6885 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/0.5885, allocations: 5.459 MB / 0.6939 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.5885, allocations: 8.969 kB / 0.6939 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.5894, allocations: 203.7 kB / 0.6941 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.5895, allocations: 19.94 kB / 0.6941 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.5895, allocations: 28 kB / 0.6941 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-05/0.5896, allocations: 15.98 kB / 0.6941 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.5896, allocations: 7.938 kB / 0.6941 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/0.5925, allocations: 2.54 MB / 0.6966 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.5931, allocations: 372.7 kB / 0.697 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.5934, allocations: 28.12 kB / 0.697 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/0.5943, allocations: 63.91 kB / 0.6971 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.5945, allocations: 84.3 kB / 0.6971 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.5946, allocations: 43.98 kB / 0.6972 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002808/0.5974, allocations: 2.334 MB / 0.6995 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5974, allocations: 0 / 0.6995 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004359/0.6018, allocations: 1.067 MB / 0.7005 GB, free: 13.2 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000362/0.6021, allocations: 155 kB / 0.7007 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006128/0.6083, allocations: 4.445 MB / 0.705 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.6083, allocations: 4.062 kB / 0.705 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.6094, allocations: 0.9478 MB / 0.7059 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.6111, allocations: 369.3 kB / 0.7063 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.6232, allocations: 8.253 MB / 0.7143 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/0.6263, allocations: 3.158 MB / 0.7174 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004481/0.6308, allocations: 2.227 MB / 0.7196 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.6314, allocations: 223.4 kB / 0.7198 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.6314, allocations: 0 / 0.7198 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.3552/0.9866, allocations: 21.74 MB / 0.741 GB, free: 173.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches