Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",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.00162/0.00162, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001866/0.001866, allocations: 184.2 kB / 18.71 MB, free: 4.332 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2204/0.2204, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 59.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3712, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02698/0.3982, allocations: 23.18 MB / 0.5411 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02119/0.4195, allocations: 8.018 MB / 0.5489 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00673/0.4263, allocations: 197.6 kB / 0.5491 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03919/0.4655, allocations: 22.26 MB / 0.5708 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.4782, allocations: 3.669 MB / 0.5744 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.4898, allocations: 4.035 MB / 0.5783 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01724/0.507, allocations: 9.802 MB / 0.5879 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05148/0.5586, allocations: 32.29 MB / 0.6194 GB, free: 4.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/0.5729, allocations: 7.025 MB / 0.6263 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0157/0.5887, allocations: 8.771 MB / 0.6349 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006012/0.5947, allocations: 2.227 MB / 0.637 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008924/0.6037, allocations: 3.486 MB / 0.6404 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.01214/0.6159, allocations: 8.417 MB / 0.6487 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.02159/0.6375, allocations: 9.815 MB / 0.6583 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.04662/0.6842, allocations: 33.3 MB / 0.6908 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.6842, allocations: 4 kB / 0.6908 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6842, allocations: 4 kB / 0.6908 GB, free: 11.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001288/0.6855, allocations: 0 / 0.6908 GB, free: 11.06 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5665 * Number of variables: 5665 Notification: Performance of Generate backend data structure: time 0.05021/0.7358, allocations: 17.52 MB / 0.7079 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.7358, allocations: 12.03 kB / 0.7079 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0104/0.7462, allocations: 2.821 MB / 0.7106 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5603/1.307, allocations: 8.473 MB / 0.7189 GB, free: 152.8 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/1.326, allocations: 8.329 MB / 0.7271 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/1.328, allocations: 1.248 MB / 0.7283 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00667/1.334, allocations: 1.65 MB / 0.7299 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07021/1.404, allocations: 36.68 MB / 0.7657 GB, free: 117.4 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005883/1.405, allocations: 131 kB / 0.7658 GB, free: 117.3 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004281/1.409, allocations: 0.7333 MB / 0.7665 GB, free: 116.6 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004764/1.414, allocations: 3.929 MB / 0.7704 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05273/1.467, allocations: 27.37 MB / 0.7971 GB, free: 85.32 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1345/1.601, allocations: 123.2 MB / 0.9175 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02512/1.627, allocations: 8.308 MB / 0.9256 GB, free: 15.94 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005261/1.632, allocations: 4.072 MB / 0.9295 GB, free: 11.86 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/1.645, allocations: 14.68 MB / 0.9439 GB, free: 10.79 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/1.645, allocations: 72.44 kB / 0.944 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=277): time 7.304e-06/1.645, allocations: 0 / 0.944 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of matching and sorting (n=338): time 0.6236/2.269, allocations: 56.56 MB / 0.9992 GB, free: 216 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/2.269, allocations: 225.4 kB / 0.9994 GB, free: 215.7 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01598/2.285, allocations: 10.72 MB / 1.01 GB, free: 211.9 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007724/2.286, allocations: 83.61 kB / 1.01 GB, free: 211.9 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006181/2.292, allocations: 11.45 MB / 1.021 GB, free: 203.7 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/2.294, allocations: 1.502 MB / 1.023 GB, free: 202.7 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005252/2.299, allocations: 3.863 MB / 1.026 GB, free: 200.7 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/2.299, allocations: 305.1 kB / 1.027 GB, free: 200.4 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008766/2.308, allocations: 6.517 MB / 1.033 GB, free: 197.1 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01432/2.322, allocations: 18.85 MB / 1.051 GB, free: 173.5 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0264/2.349, allocations: 27.4 MB / 1.078 GB, free: 140.2 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004796/2.349, allocations: 124 kB / 1.078 GB, free: 140.1 MB / 0.6545 GB Notification: Performance of matching and sorting (n=2356) (initialization): time 0.04113/2.39, allocations: 24.97 MB / 1.103 GB, free: 115.1 MB / 0.6545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003168/2.391, allocations: 196 kB / 1.103 GB, free: 114.9 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006556/2.391, allocations: 440 kB / 1.103 GB, free: 114.5 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00318/2.395, allocations: 1.547 MB / 1.105 GB, free: 112.9 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01328/2.408, allocations: 4.339 MB / 1.109 GB, free: 108.6 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008001/2.416, allocations: 7.912 MB / 1.117 GB, free: 100.5 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/2.43, allocations: 1.057 MB / 1.118 GB, free: 99.45 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002748/2.432, allocations: 1.148 MB / 1.119 GB, free: 98.31 MB / 0.6545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2012 * Number of states: 0 () * Number of discrete variables: 44 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2299): * Single equations (assignments): 2291 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01268/2.445, allocations: 7.848 MB / 1.127 GB, free: 90.45 MB / 0.6545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.447, allocations: 0.873 MB / 1.127 GB, free: 89.57 MB / 0.6545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/2.457, allocations: 7.773 MB / 1.135 GB, free: 81.74 MB / 0.6545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/2.457, allocations: 36 kB / 1.135 GB, free: 81.7 MB / 0.6545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/2.457, allocations: 12 kB / 1.135 GB, free: 81.69 MB / 0.6545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/2.457, allocations: 15.94 kB / 1.135 GB, free: 81.68 MB / 0.6545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04227/2.5, allocations: 23.28 MB / 1.158 GB, free: 58.24 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/2.5, allocations: 7.875 kB / 1.158 GB, free: 58.23 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0029/2.503, allocations: 0.6279 MB / 1.158 GB, free: 57.61 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/2.505, allocations: 0.9432 MB / 1.159 GB, free: 56.66 MB / 0.6545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004621/2.505, allocations: 67.98 kB / 1.159 GB, free: 56.6 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005827/2.511, allocations: 6.246 MB / 1.166 GB, free: 50.22 MB / 0.6545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.511, allocations: 8 kB / 1.166 GB, free: 50.21 MB / 0.6545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/2.527, allocations: 12.93 MB / 1.178 GB, free: 37.13 MB / 0.6545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/2.529, allocations: 0.8193 MB / 1.179 GB, free: 36.29 MB / 0.6545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001829/2.531, allocations: 63.91 kB / 1.179 GB, free: 36.23 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004069/2.535, allocations: 355.5 kB / 1.179 GB, free: 35.88 MB / 0.6545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006173/2.536, allocations: 193.7 kB / 1.18 GB, free: 35.69 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/2.536, allocations: 99.98 kB / 1.18 GB, free: 35.59 MB / 0.6545 GB Notification: Performance of sorting global known variables: time 0.009589/2.545, allocations: 6.579 MB / 1.186 GB, free: 29.04 MB / 0.6545 GB Notification: Performance of sort global known variables: time 3.31e-07/2.545, allocations: 0 / 1.186 GB, free: 29.04 MB / 0.6545 GB Notification: Performance of remove unused functions: time 0.01513/2.561, allocations: 2.984 MB / 1.189 GB, free: 26.05 MB / 0.6545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (rev.phi,rev.w,rev1.phi,rev1.w) * 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 (294): * Single equations (assignments): 286 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0158/2.576, allocations: 13.8 MB / 1.202 GB, free: 12.11 MB / 0.6545 GB Notification: Performance of simCode: created initialization part: time 0.3056/2.882, allocations: 14.73 MB / 1.217 GB, free: 214.2 MB / 0.6545 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/2.882, allocations: 3.156 kB / 1.217 GB, free: 214.2 MB / 0.6545 GB Notification: Performance of simCode: created simulation system equations: time 0.005556/2.888, allocations: 3.638 MB / 1.22 GB, free: 213.6 MB / 0.6545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008154/2.896, allocations: 1.619 MB / 1.222 GB, free: 213 MB / 0.6545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1814/3.077, allocations: 158.5 MB / 1.377 GB, free: 56.56 MB / 0.6545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01782/3.095, allocations: 10.46 MB / 1.387 GB, free: 46.05 MB / 0.6545 GB Notification: Performance of simCode: alias equations: time 0.01246/3.108, allocations: 5.486 MB / 1.392 GB, free: 40.55 MB / 0.6545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01033/3.118, allocations: 6.814 MB / 1.399 GB, free: 33.74 MB / 0.6545 GB Notification: Performance of SimCode: time 8.02e-07/3.118, allocations: 0 / 1.399 GB, free: 33.74 MB / 0.6545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4815/3.6, allocations: 180 MB / 1.575 GB, free: 145.2 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate platform static: time 134/137.6, allocations: 9.688 kB / 1.575 GB, free: 145.2 MB / 0.6858 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/AbsoluteSensor/AbsoluteSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches