Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 111.6 kB / 16.41 MB, free: 6.492 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.0022/0.0022, allocations: 192.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1243, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.01437/0.1388, allocations: 12.43 MB / 0.4995 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008446/0.1473, allocations: 4.051 MB / 0.5035 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.1496, allocations: 79.88 kB / 0.5036 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003685/0.1533, allocations: 1.685 MB / 0.5052 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.1578, allocations: 1.592 MB / 0.5068 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.1605, allocations: 1.177 MB / 0.5079 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005799/0.1663, allocations: 3.635 MB / 0.5115 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003722/0.1701, allocations: 2.512 MB / 0.5139 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00239/0.1725, allocations: 1.222 MB / 0.5151 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.1753, allocations: 1.654 MB / 0.5167 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009301/0.1763, allocations: 252 kB / 0.517 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.1782, allocations: 0.7138 MB / 0.5177 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.1804, allocations: 1.652 MB / 0.5193 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003292/0.1838, allocations: 1.987 MB / 0.5212 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009233/0.193, allocations: 6.535 MB / 0.5276 GB, free: 2.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1931, allocations: 4 kB / 0.5276 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1931, allocations: 0 / 0.5276 GB, free: 2.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002423/0.1933, allocations: 0 / 0.5276 GB, free: 2.934 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: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.2519/0.4452, allocations: 4.308 MB / 0.5318 GB, free: 37.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4453, allocations: 14.05 kB / 0.5318 GB, free: 37.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001297/0.4466, allocations: 0.7494 MB / 0.5326 GB, free: 37.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.4568, allocations: 3.041 MB / 0.5355 GB, free: 37.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.4607, allocations: 1.882 MB / 0.5374 GB, free: 36.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.4609, allocations: 201.1 kB / 0.5376 GB, free: 36.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006903/0.4616, allocations: 258.7 kB / 0.5378 GB, free: 36.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.4807, allocations: 10.53 MB / 0.5481 GB, free: 32.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.646e-05/0.4809, allocations: 36.88 kB / 0.5481 GB, free: 31.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005993/0.4815, allocations: 134.3 kB / 0.5482 GB, free: 31.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004185/0.4857, allocations: 2.439 MB / 0.5506 GB, free: 31.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.5008, allocations: 9.366 MB / 0.5598 GB, free: 24.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04769/0.5486, allocations: 38.82 MB / 0.5977 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006627/0.5553, allocations: 3.485 MB / 0.6011 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.5574, allocations: 1.27 MB / 0.6023 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.5677, allocations: 5.474 MB / 0.6077 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.5678, allocations: 47.06 kB / 0.6077 GB, free: 6.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=153): time 6.281e-06/0.5678, allocations: 0 / 0.6077 GB, free: 6.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=153): time 0.007608/0.5755, allocations: 3.381 MB / 0.611 GB, free: 2.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.5756, allocations: 166.8 kB / 0.6112 GB, free: 2.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006391/0.582, allocations: 3.961 MB / 0.6151 GB, free: 14.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003062/0.5824, allocations: 45.69 kB / 0.6151 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003061/0.5854, allocations: 3.477 MB / 0.6185 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009533/0.5864, allocations: 0.6437 MB / 0.6191 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001933/0.5883, allocations: 1.361 MB / 0.6205 GB, free: 9.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5885, allocations: 305.1 kB / 0.6207 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.5919, allocations: 2 MB / 0.6227 GB, free: 6.883 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00738/0.5993, allocations: 6.307 MB / 0.6289 GB, free: 14.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/0.6121, allocations: 9.063 MB / 0.6377 GB, free: 3.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/0.6123, allocations: 44.56 kB / 0.6377 GB, free: 3.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.01643/0.6287, allocations: 7.942 MB / 0.6455 GB, free: 11.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.6289, allocations: 72.19 kB / 0.6456 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002055/0.6291, allocations: 152 kB / 0.6457 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.6293, allocations: 203.9 kB / 0.6459 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/0.6343, allocations: 1.509 MB / 0.6474 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002872/0.6346, allocations: 302.8 kB / 0.6477 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/0.6407, allocations: 0.9659 MB / 0.6486 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/0.6419, allocations: 419.9 kB / 0.649 GB, free: 7.617 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 21 (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 (819): * Single equations (assignments): 811 * 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.0041/0.6461, allocations: 2.284 MB / 0.6512 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006435/0.6467, allocations: 341.7 kB / 0.6516 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/0.6475, allocations: 416.2 kB / 0.652 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.797e-05/0.6476, allocations: 35.98 kB / 0.652 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.6476, allocations: 0 / 0.652 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.6477, allocations: 7.984 kB / 0.652 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009383/0.657, allocations: 5.712 MB / 0.6576 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.6571, allocations: 8 kB / 0.6576 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/0.6581, allocations: 215.9 kB / 0.6578 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.6581, allocations: 12 kB / 0.6578 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.913e-05/0.6582, allocations: 28 kB / 0.6578 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.6582, allocations: 12 kB / 0.6579 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.98e-05/0.6583, allocations: 12.41 kB / 0.6579 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.6618, allocations: 2.604 MB / 0.6604 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009486/0.6628, allocations: 402.4 kB / 0.6608 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.6631, allocations: 27.98 kB / 0.6608 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.6642, allocations: 67.91 kB / 0.6609 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.6644, allocations: 88.28 kB / 0.661 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.6645, allocations: 48 kB / 0.661 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004165/0.6687, allocations: 2.407 MB / 0.6634 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.615e-06/0.6687, allocations: 0 / 0.6634 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005624/0.6743, allocations: 1.15 MB / 0.6645 GB, free: 7.523 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 105 * 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.004734/0.6791, allocations: 3.228 MB / 0.6676 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008502/0.6877, allocations: 4.551 MB / 0.6721 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6877, allocations: 0 / 0.6721 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/0.6892, allocations: 0.9769 MB / 0.673 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.6915, allocations: 357.5 kB / 0.6734 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07316/0.7647, allocations: 43.35 MB / 0.7157 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004952/0.7697, allocations: 3.28 MB / 0.7189 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005688/0.7754, allocations: 2.283 MB / 0.7211 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003586/0.779, allocations: 1.745 MB / 0.7228 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.7791, allocations: 4 kB / 0.7229 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3669/1.146, allocations: 52.55 MB / 0.7742 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.98/20.12, allocations: 9.672 kB / 0.7742 GB, free: 209.9 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor2/AbsoluteSensor2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches