Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 112.8 kB / 17.78 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 184.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.17 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4197, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01828/0.438, allocations: 12.06 MB / 0.5307 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.4507, allocations: 4.022 MB / 0.5346 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004133/0.4549, allocations: 80.72 kB / 0.5347 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004471/0.4594, allocations: 1.678 MB / 0.5363 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.4649, allocations: 1.586 MB / 0.5379 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.4678, allocations: 1.186 MB / 0.539 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006438/0.4742, allocations: 3.519 MB / 0.5424 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003566/0.4778, allocations: 2.485 MB / 0.5449 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.48, allocations: 1.175 MB / 0.546 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.4823, allocations: 1.588 MB / 0.5476 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006573/0.4829, allocations: 240 kB / 0.5478 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.4845, allocations: 0.7177 MB / 0.5485 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.486, allocations: 1.601 MB / 0.5501 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.4881, allocations: 1.914 MB / 0.5519 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007665/0.4958, allocations: 6.291 MB / 0.5581 GB, free: 3.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.4959, allocations: 0 / 0.5581 GB, free: 3.812 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4959, allocations: 0 / 0.5581 GB, free: 3.812 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002358/0.4961, allocations: 0 / 0.5581 GB, free: 3.812 MB / 414.1 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.008864/0.505, allocations: 4.082 MB / 0.5621 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5051, allocations: 11.97 kB / 0.5621 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.5156, allocations: 2.99 MB / 0.565 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.52, allocations: 1.838 MB / 0.5668 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.5202, allocations: 193.2 kB / 0.567 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008966/0.5211, allocations: 255.8 kB / 0.5672 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.5387, allocations: 10.23 MB / 0.5772 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.234e-05/0.5388, allocations: 35.69 kB / 0.5772 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/0.5393, allocations: 123.8 kB / 0.5774 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004061/0.5434, allocations: 2.372 MB / 0.5797 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.5601, allocations: 9.086 MB / 0.5886 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05287/0.613, allocations: 37.97 MB / 0.6256 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006651/0.6197, allocations: 3.384 MB / 0.6289 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/0.6217, allocations: 1.226 MB / 0.6301 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008649/0.6303, allocations: 5.179 MB / 0.6352 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.6304, allocations: 47.06 kB / 0.6352 GB, free: 2.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=150): time 4.178e-06/0.6304, allocations: 0 / 0.6352 GB, free: 2.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=150): time 0.006937/0.6374, allocations: 3.328 MB / 0.6385 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.6375, allocations: 170.8 kB / 0.6387 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005441/0.6429, allocations: 3.865 MB / 0.6424 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.6431, allocations: 49.69 kB / 0.6425 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/0.6455, allocations: 3.223 MB / 0.6456 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/0.6462, allocations: 0.6098 MB / 0.6462 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.6478, allocations: 1.313 MB / 0.6475 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.648, allocations: 305.1 kB / 0.6478 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.6508, allocations: 1.965 MB / 0.6497 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/0.6569, allocations: 6.156 MB / 0.6557 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6681, allocations: 8.854 MB / 0.6644 GB, free: 272 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/0.6683, allocations: 44 kB / 0.6644 GB, free: 228 kB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01751/0.6858, allocations: 7.75 MB / 0.672 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.686, allocations: 68 kB / 0.672 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002605/0.6863, allocations: 148 kB / 0.6722 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.6866, allocations: 196 kB / 0.6724 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005755/0.6924, allocations: 1.47 MB / 0.6738 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003994/0.6928, allocations: 294.8 kB / 0.6741 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006124/0.6989, allocations: 0.9164 MB / 0.675 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/0.7, allocations: 404 kB / 0.6754 GB, free: 4.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (797): * Single equations (assignments): 789 * 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.004621/0.7047, allocations: 2.234 MB / 0.6775 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007103/0.7054, allocations: 307.9 kB / 0.6778 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.7065, allocations: 419.4 kB / 0.6782 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.269e-05/0.7066, allocations: 40 kB / 0.6783 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.7067, allocations: 0 / 0.6783 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.7067, allocations: 11.97 kB / 0.6783 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.7174, allocations: 5.527 MB / 0.6837 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.7175, allocations: 8 kB / 0.6837 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009978/0.7185, allocations: 207.7 kB / 0.6839 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.7185, allocations: 12 kB / 0.6839 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.7186, allocations: 24 kB / 0.6839 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.7186, allocations: 11.94 kB / 0.6839 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.7186, allocations: 8 kB / 0.6839 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.7215, allocations: 2.541 MB / 0.6864 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/0.7223, allocations: 368.6 kB / 0.6868 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005808/0.7228, allocations: 27.98 kB / 0.6868 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.7241, allocations: 67.92 kB / 0.6869 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.7243, allocations: 80.28 kB / 0.6869 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/0.7244, allocations: 47.98 kB / 0.687 GB, free: 8.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004433/0.7288, allocations: 2.354 MB / 0.6893 GB, free: 6.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7288, allocations: 4 kB / 0.6893 GB, free: 6.477 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005975/0.7348, allocations: 1.106 MB / 0.6904 GB, free: 5.367 MB / 0.545 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.0004659/0.7353, allocations: 159.1 kB / 0.6905 GB, free: 5.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007721/0.743, allocations: 4.466 MB / 0.6949 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.7431, allocations: 0 / 0.6949 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.7444, allocations: 0.9528 MB / 0.6958 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.7472, allocations: 368.4 kB / 0.6962 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.7684, allocations: 8.388 MB / 0.7044 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005141/0.7736, allocations: 3.207 MB / 0.7075 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005195/0.7788, allocations: 2.239 MB / 0.7097 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.7795, allocations: 223.4 kB / 0.7099 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.7795, allocations: 0 / 0.7099 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.3442/1.124, allocations: 22.11 MB / 0.7315 GB, free: 180.9 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches