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.001395/0.001395, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001456/0.001456, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.524/1.524, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2217/0.2217, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3191, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02577/0.3449, allocations: 23.18 MB / 0.5411 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.3635, allocations: 8.02 MB / 0.5489 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005471/0.369, allocations: 197.7 kB / 0.5491 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04266/0.4116, allocations: 22.24 MB / 0.5708 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.4224, allocations: 3.618 MB / 0.5743 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009695/0.4322, allocations: 4.032 MB / 0.5783 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01681/0.449, allocations: 9.794 MB / 0.5878 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04885/0.4979, allocations: 32.29 MB / 0.6194 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.5091, allocations: 7.005 MB / 0.6262 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.014/0.5232, allocations: 8.759 MB / 0.6348 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005979/0.5292, allocations: 2.234 MB / 0.637 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009105/0.5383, allocations: 3.474 MB / 0.6403 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.01176/0.5501, allocations: 8.413 MB / 0.6486 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01684/0.567, allocations: 9.808 MB / 0.6581 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.04397/0.611, allocations: 33.3 MB / 0.6907 GB, free: 11.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.611, allocations: 0 / 0.6907 GB, free: 11.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6111, allocations: 0 / 0.6907 GB, free: 11.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001252/0.6123, allocations: 0 / 0.6907 GB, free: 11.17 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.04913/0.6615, allocations: 17.52 MB / 0.7078 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.6615, allocations: 12.03 kB / 0.7078 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008666/0.6702, allocations: 2.821 MB / 0.7105 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5578/1.228, allocations: 8.474 MB / 0.7188 GB, free: 153.1 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01804/1.246, allocations: 8.327 MB / 0.7269 GB, free: 150.2 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00106/1.247, allocations: 1.249 MB / 0.7282 GB, free: 149.7 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005789/1.253, allocations: 1.649 MB / 0.7298 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07582/1.329, allocations: 36.69 MB / 0.7656 GB, free: 117.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005936/1.33, allocations: 119 kB / 0.7657 GB, free: 117.4 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005092/1.335, allocations: 0.7407 MB / 0.7664 GB, free: 116.7 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004649/1.339, allocations: 3.921 MB / 0.7703 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05485/1.394, allocations: 27.37 MB / 0.797 GB, free: 85.45 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1555/1.55, allocations: 123.2 MB / 0.9173 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02531/1.575, allocations: 8.301 MB / 0.9255 GB, free: 80 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005758/1.581, allocations: 4.078 MB / 0.9294 GB, free: 11.99 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/1.595, allocations: 14.68 MB / 0.9438 GB, free: 10.92 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/1.595, allocations: 72.44 kB / 0.9438 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=277): time 7.884e-06/1.595, allocations: 0 / 0.9438 GB, free: 10.84 MB / 0.6388 GB Notification: Performance of matching and sorting (n=338): time 0.6231/2.219, allocations: 56.57 MB / 0.9991 GB, free: 216.1 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/2.219, allocations: 217.5 kB / 0.9993 GB, free: 215.8 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01691/2.236, allocations: 10.72 MB / 1.01 GB, free: 212 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006851/2.236, allocations: 81 kB / 1.01 GB, free: 211.9 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005847/2.242, allocations: 11.45 MB / 1.021 GB, free: 203.8 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/2.244, allocations: 1.508 MB / 1.022 GB, free: 202.8 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0061/2.25, allocations: 3.865 MB / 1.026 GB, free: 200.8 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/2.25, allocations: 301.1 kB / 1.027 GB, free: 200.5 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008328/2.258, allocations: 6.515 MB / 1.033 GB, free: 197.3 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/2.271, allocations: 18.86 MB / 1.051 GB, free: 173.6 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02261/2.294, allocations: 27.39 MB / 1.078 GB, free: 140.3 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003616/2.294, allocations: 124 kB / 1.078 GB, free: 140.2 MB / 0.6545 GB Notification: Performance of matching and sorting (n=2356) (initialization): time 0.04043/2.335, allocations: 24.99 MB / 1.103 GB, free: 115.2 MB / 0.6545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006297/2.335, allocations: 192 kB / 1.103 GB, free: 115 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000819/2.336, allocations: 440.8 kB / 1.103 GB, free: 114.6 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003587/2.34, allocations: 1.546 MB / 1.105 GB, free: 113 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01419/2.354, allocations: 4.342 MB / 1.109 GB, free: 108.7 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008524/2.363, allocations: 7.907 MB / 1.117 GB, free: 100.6 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.375, allocations: 1.065 MB / 1.118 GB, free: 99.56 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00272/2.378, allocations: 1.148 MB / 1.119 GB, free: 98.42 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.01202/2.39, allocations: 7.839 MB / 1.126 GB, free: 90.56 MB / 0.6545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/2.392, allocations: 0.877 MB / 1.127 GB, free: 89.68 MB / 0.6545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/2.404, allocations: 7.777 MB / 1.135 GB, free: 81.85 MB / 0.6545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.232e-05/2.404, allocations: 40 kB / 1.135 GB, free: 81.81 MB / 0.6545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/2.404, allocations: 4 kB / 1.135 GB, free: 81.8 MB / 0.6545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/2.404, allocations: 15.94 kB / 1.135 GB, free: 81.79 MB / 0.6545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03941/2.443, allocations: 23.28 MB / 1.158 GB, free: 58.35 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/2.443, allocations: 12.09 kB / 1.158 GB, free: 58.34 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/2.446, allocations: 0.624 MB / 1.158 GB, free: 57.71 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/2.448, allocations: 0.9473 MB / 1.159 GB, free: 56.77 MB / 0.6545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005104/2.449, allocations: 56 kB / 1.159 GB, free: 56.71 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006379/2.455, allocations: 6.252 MB / 1.165 GB, free: 50.33 MB / 0.6545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/2.455, allocations: 4 kB / 1.165 GB, free: 50.32 MB / 0.6545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/2.472, allocations: 12.94 MB / 1.178 GB, free: 37.23 MB / 0.6545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002005/2.474, allocations: 0.8203 MB / 1.179 GB, free: 36.39 MB / 0.6545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/2.476, allocations: 52 kB / 1.179 GB, free: 36.34 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003884/2.48, allocations: 355.5 kB / 1.179 GB, free: 35.99 MB / 0.6545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006597/2.48, allocations: 193.7 kB / 1.179 GB, free: 35.8 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/2.481, allocations: 111.5 kB / 1.18 GB, free: 35.7 MB / 0.6545 GB Notification: Performance of sorting global known variables: time 0.0104/2.491, allocations: 6.579 MB / 1.186 GB, free: 29.14 MB / 0.6545 GB Notification: Performance of sort global known variables: time 3.81e-07/2.491, allocations: 0 / 1.186 GB, free: 29.14 MB / 0.6545 GB Notification: Performance of remove unused functions: time 0.0145/2.506, allocations: 2.984 MB / 1.189 GB, free: 26.16 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.01613/2.522, allocations: 13.79 MB / 1.202 GB, free: 12.22 MB / 0.6545 GB Notification: Performance of simCode: created initialization part: time 0.2995/2.821, allocations: 14.72 MB / 1.217 GB, free: 213.8 MB / 0.6545 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/2.821, allocations: 5.281 kB / 1.217 GB, free: 213.8 MB / 0.6545 GB Notification: Performance of simCode: created simulation system equations: time 0.005404/2.827, allocations: 3.634 MB / 1.22 GB, free: 213.3 MB / 0.6545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/2.837, allocations: 1.626 MB / 1.222 GB, free: 212.6 MB / 0.6545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1936/3.031, allocations: 158.5 MB / 1.377 GB, free: 56.31 MB / 0.6545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0205/3.051, allocations: 10.46 MB / 1.387 GB, free: 45.8 MB / 0.6545 GB Notification: Performance of simCode: alias equations: time 0.01278/3.064, allocations: 5.498 MB / 1.392 GB, free: 40.3 MB / 0.6545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009545/3.074, allocations: 6.814 MB / 1.399 GB, free: 33.48 MB / 0.6545 GB Notification: Performance of SimCode: time 1.012e-06/3.074, allocations: 0 / 1.399 GB, free: 33.48 MB / 0.6545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5624/3.636, allocations: 180 MB / 1.575 GB, free: 145.2 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate platform static: time 137.5/141.1, allocations: 6.516 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