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.001294/0.001294, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001331/0.001331, allocations: 179.1 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.428/1.428, 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.2149/0.2149, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3296, allocations: 60.82 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02589/0.3554, allocations: 23.25 MB / 0.5411 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.3743, allocations: 8.021 MB / 0.549 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005216/0.3795, allocations: 194 kB / 0.5492 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04025/0.4197, allocations: 22.39 MB / 0.571 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.4301, allocations: 3.661 MB / 0.5746 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008831/0.4389, allocations: 4.051 MB / 0.5785 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01558/0.4545, allocations: 9.786 MB / 0.5881 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04067/0.4952, allocations: 24.88 MB / 0.6124 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/0.5094, allocations: 7.029 MB / 0.6193 GB, free: 4.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01362/0.523, allocations: 8.767 MB / 0.6278 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005483/0.5285, allocations: 2.23 MB / 0.63 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008295/0.5368, allocations: 3.482 MB / 0.6334 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01176/0.5486, allocations: 8.571 MB / 0.6418 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01733/0.5659, allocations: 9.815 MB / 0.6514 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04387/0.6098, allocations: 33.3 MB / 0.6839 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.6098, allocations: 0 / 0.6839 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6098, allocations: 0 / 0.6839 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001112/0.6109, allocations: 0 / 0.6839 GB, free: 1.957 MB / 0.5294 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.04622/0.6571, allocations: 17.51 MB / 0.701 GB, free: 308 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6572, allocations: 8.031 kB / 0.701 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009386/0.6665, allocations: 2.832 MB / 0.7038 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09357/0.7601, allocations: 8.48 MB / 0.712 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4911/1.251, allocations: 8.314 MB / 0.7202 GB, free: 150.9 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/1.252, allocations: 1.254 MB / 0.7214 GB, free: 150.4 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005143/1.257, allocations: 1.654 MB / 0.723 GB, free: 149.9 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07114/1.329, allocations: 36.67 MB / 0.7588 GB, free: 122.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004908/1.329, allocations: 128.2 kB / 0.7589 GB, free: 122.5 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003879/1.333, allocations: 0.7355 MB / 0.7597 GB, free: 121.8 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004594/1.337, allocations: 3.928 MB / 0.7635 GB, free: 117.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0498/1.387, allocations: 27.37 MB / 0.7902 GB, free: 90.52 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1334/1.521, allocations: 123.2 MB / 0.9106 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02557/1.546, allocations: 8.107 MB / 0.9185 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005364/1.552, allocations: 3.89 MB / 0.9223 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/1.565, allocations: 14.67 MB / 0.9366 GB, free: 0.6055 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.704e-05/1.566, allocations: 68.5 kB / 0.9367 GB, free: 0.5273 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=277): time 5.34e-06/1.566, allocations: 0 / 0.9367 GB, free: 0.5273 MB / 0.6232 GB Notification: Performance of matching and sorting (n=338): time 0.6073/2.173, allocations: 56.55 MB / 0.9919 GB, free: 216.6 MB / 0.6545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/2.173, allocations: 220.9 kB / 0.9921 GB, free: 216.4 MB / 0.6545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01346/2.186, allocations: 10.72 MB / 1.003 GB, free: 212.6 MB / 0.6545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005962/2.187, allocations: 81.81 kB / 1.003 GB, free: 212.5 MB / 0.6545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005208/2.192, allocations: 11.45 MB / 1.014 GB, free: 204.5 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/2.194, allocations: 1.505 MB / 1.015 GB, free: 203.4 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004486/2.198, allocations: 3.864 MB / 1.019 GB, free: 201.4 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 4.331e-05/2.198, allocations: 305.6 kB / 1.019 GB, free: 201.1 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007593/2.206, allocations: 6.52 MB / 1.026 GB, free: 198.8 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/2.219, allocations: 18.85 MB / 1.044 GB, free: 177.7 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02137/2.24, allocations: 27.39 MB / 1.071 GB, free: 145.6 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002985/2.241, allocations: 127.9 kB / 1.071 GB, free: 145.5 MB / 0.6545 GB Notification: Performance of matching and sorting (n=2356) (initialization): time 0.03605/2.277, allocations: 24.97 MB / 1.095 GB, free: 120.6 MB / 0.6545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/2.277, allocations: 192 kB / 1.096 GB, free: 120.4 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003768/2.277, allocations: 440 kB / 1.096 GB, free: 120 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/2.28, allocations: 1.543 MB / 1.098 GB, free: 118.4 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/2.292, allocations: 4.347 MB / 1.102 GB, free: 114.1 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/2.299, allocations: 7.911 MB / 1.109 GB, free: 106 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01274/2.312, allocations: 1.061 MB / 1.111 GB, free: 104.9 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/2.315, allocations: 1.144 MB / 1.112 GB, free: 103.8 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.01187/2.327, allocations: 7.848 MB / 1.119 GB, free: 95.94 MB / 0.6545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/2.328, allocations: 0.873 MB / 1.12 GB, free: 95.06 MB / 0.6545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/2.339, allocations: 7.761 MB / 1.128 GB, free: 87.24 MB / 0.6545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.095e-05/2.339, allocations: 36 kB / 1.128 GB, free: 87.21 MB / 0.6545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/2.339, allocations: 8 kB / 1.128 GB, free: 87.2 MB / 0.6545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/2.339, allocations: 19.94 kB / 1.128 GB, free: 87.18 MB / 0.6545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03764/2.377, allocations: 23.27 MB / 1.151 GB, free: 63.76 MB / 0.6545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/2.377, allocations: 11.81 kB / 1.151 GB, free: 63.75 MB / 0.6545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/2.379, allocations: 0.6241 MB / 1.151 GB, free: 63.13 MB / 0.6545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/2.382, allocations: 0.9473 MB / 1.152 GB, free: 62.18 MB / 0.6545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000389/2.382, allocations: 59.98 kB / 1.152 GB, free: 62.12 MB / 0.6545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006043/2.388, allocations: 6.243 MB / 1.158 GB, free: 55.74 MB / 0.6545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/2.388, allocations: 4 kB / 1.158 GB, free: 55.74 MB / 0.6545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/2.404, allocations: 12.93 MB / 1.171 GB, free: 42.66 MB / 0.6545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002632/2.407, allocations: 0.8232 MB / 1.172 GB, free: 41.81 MB / 0.6545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/2.408, allocations: 59.44 kB / 1.172 GB, free: 41.76 MB / 0.6545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/2.412, allocations: 356.4 kB / 1.172 GB, free: 41.41 MB / 0.6545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006754/2.413, allocations: 189.7 kB / 1.172 GB, free: 41.22 MB / 0.6545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002928/2.413, allocations: 111.5 kB / 1.172 GB, free: 41.12 MB / 0.6545 GB Notification: Performance of sorting global known variables: time 0.01066/2.424, allocations: 6.576 MB / 1.179 GB, free: 34.57 MB / 0.6545 GB Notification: Performance of sort global known variables: time 1.8e-07/2.424, allocations: 0 / 1.179 GB, free: 34.57 MB / 0.6545 GB Notification: Performance of remove unused functions: time 0.01546/2.439, allocations: 2.98 MB / 1.182 GB, free: 31.59 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.01632/2.455, allocations: 13.78 MB / 1.195 GB, free: 17.66 MB / 0.6545 GB Notification: Performance of simCode: created initialization part: time 0.01912/2.474, allocations: 14.12 MB / 1.209 GB, free: 3.602 MB / 0.6545 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/2.474, allocations: 448 / 1.209 GB, free: 3.598 MB / 0.6545 GB Notification: Performance of simCode: created simulation system equations: time 0.2458/2.72, allocations: 3.29 MB / 1.212 GB, free: 216.4 MB / 0.6545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007288/2.728, allocations: 1.626 MB / 1.214 GB, free: 216.2 MB / 0.6545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1726/2.9, allocations: 158.5 MB / 1.368 GB, free: 63.55 MB / 0.6545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01964/2.92, allocations: 10.46 MB / 1.379 GB, free: 53.04 MB / 0.6545 GB Notification: Performance of simCode: alias equations: time 0.01243/2.932, allocations: 5.49 MB / 1.384 GB, free: 47.54 MB / 0.6545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008391/2.941, allocations: 6.814 MB / 1.391 GB, free: 40.72 MB / 0.6545 GB Notification: Performance of SimCode: time 1.252e-06/2.941, allocations: 0 / 1.391 GB, free: 40.72 MB / 0.6545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5003/3.441, allocations: 180.3 MB / 1.567 GB, free: 151.3 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate platform static: time 129.4/132.8, allocations: 0.9375 kB / 1.567 GB, free: 151.3 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