Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_3_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.001141/0.001141, allocations: 103.1 kB / 16.4 MB, free: 6.457 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.001179/0.001179, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2063/0.2063, allocations: 43.52 MB / 314.1 MB, free: 448 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.001527/0.001527, allocations: 77.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1123, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02544/0.1377, allocations: 24.69 MB / 0.5115 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.1573, allocations: 8.286 MB / 0.5196 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.1624, allocations: 199.6 kB / 0.5198 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2763/0.4388, allocations: 22.3 MB / 0.5416 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.4515, allocations: 3.872 MB / 0.5453 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009313/0.4609, allocations: 4.042 MB / 0.5493 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01808/0.479, allocations: 10.03 MB / 0.5591 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04305/0.5221, allocations: 32.45 MB / 0.5908 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01649/0.5386, allocations: 7.193 MB / 0.5978 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01538/0.554, allocations: 9.061 MB / 0.6066 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008995/0.5631, allocations: 2.277 MB / 0.6089 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.5751, allocations: 3.517 MB / 0.6123 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01396/0.5891, allocations: 8.647 MB / 0.6208 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02123/0.6104, allocations: 10.09 MB / 0.6306 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04962/0.66, allocations: 34.24 MB / 0.664 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.6601, allocations: 0 / 0.664 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6601, allocations: 0 / 0.664 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.00128/0.6614, allocations: 0 / 0.664 GB, free: 1.984 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5861 * Number of variables: 5861 Notification: Performance of Generate backend data structure: time 0.05446/0.7159, allocations: 18.02 MB / 0.6816 GB, free: 0 / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.074e-05/0.716, allocations: 11.94 kB / 0.6816 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01034/0.7263, allocations: 2.911 MB / 0.6845 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09419/0.8205, allocations: 8.557 MB / 0.6928 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02344/0.844, allocations: 8.648 MB / 0.7013 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/0.8454, allocations: 1.277 MB / 0.7025 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00583/0.8512, allocations: 1.682 MB / 0.7042 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09064/0.9419, allocations: 37.86 MB / 0.7412 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008544/0.9428, allocations: 130.9 kB / 0.7413 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005829/0.9486, allocations: 0.7504 MB / 0.742 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006798/0.9554, allocations: 4.18 MB / 0.7461 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4972/1.453, allocations: 28.5 MB / 0.7739 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.139/1.592, allocations: 126.4 MB / 0.8974 GB, free: 66.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/1.615, allocations: 8.786 MB / 0.906 GB, free: 57.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/1.619, allocations: 4.264 MB / 0.9101 GB, free: 53.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008462/1.628, allocations: 14.69 MB / 0.9245 GB, free: 36.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/1.628, allocations: 68.5 kB / 0.9245 GB, free: 36.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=313): time 7.934e-06/1.628, allocations: 4 kB / 0.9245 GB, free: 36.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=374): time 0.1467/1.775, allocations: 57.21 MB / 0.9804 GB, free: 11.54 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.775, allocations: 218.3 kB / 0.9806 GB, free: 11.28 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02261/1.797, allocations: 11 MB / 0.9914 GB, free: 0.5039 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0009195/1.798, allocations: 85.7 kB / 0.9914 GB, free: 424 kB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.009501/1.808, allocations: 11.77 MB / 1.003 GB, free: 4.727 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002994/1.811, allocations: 1.654 MB / 1.005 GB, free: 3.094 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.427/2.238, allocations: 3.976 MB / 1.008 GB, free: 214.1 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/2.238, allocations: 305.7 kB / 1.009 GB, free: 213.8 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01113/2.249, allocations: 6.756 MB / 1.015 GB, free: 213.3 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01835/2.268, allocations: 19.43 MB / 1.034 GB, free: 193.5 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02493/2.293, allocations: 28.28 MB / 1.062 GB, free: 168.4 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007582/2.293, allocations: 128.3 kB / 1.062 GB, free: 168.4 MB / 0.6389 GB Notification: Performance of matching and sorting (n=2444) (initialization): time 0.04486/2.338, allocations: 25.78 MB / 1.087 GB, free: 157.9 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006211/2.339, allocations: 200 kB / 1.087 GB, free: 157.7 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006527/2.34, allocations: 452 kB / 1.088 GB, free: 157.3 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003249/2.343, allocations: 1.565 MB / 1.089 GB, free: 156 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01335/2.356, allocations: 4.515 MB / 1.094 GB, free: 152.1 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007697/2.364, allocations: 7.955 MB / 1.102 GB, free: 145 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01394/2.378, allocations: 1.095 MB / 1.103 GB, free: 144.1 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002998/2.381, allocations: 1.188 MB / 1.104 GB, free: 143 MB / 0.6389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2064 * Number of states: 0 () * Number of discrete variables: 36 (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 (2387): * Single equations (assignments): 2379 * 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.0144/2.395, allocations: 8.045 MB / 1.112 GB, free: 136.1 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/2.397, allocations: 0.9074 MB / 1.113 GB, free: 135.7 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/2.409, allocations: 8.262 MB / 1.121 GB, free: 128.8 MB / 0.6389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.712e-05/2.409, allocations: 46.83 kB / 1.121 GB, free: 128.7 MB / 0.6389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/2.409, allocations: 6.438 kB / 1.121 GB, free: 128.7 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-05/2.409, allocations: 18.42 kB / 1.121 GB, free: 128.7 MB / 0.6389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03846/2.447, allocations: 24.28 MB / 1.144 GB, free: 105.9 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/2.447, allocations: 4.094 kB / 1.144 GB, free: 105.9 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/2.45, allocations: 0.7102 MB / 1.145 GB, free: 105.2 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/2.453, allocations: 0.947 MB / 1.146 GB, free: 104.3 MB / 0.6389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/2.453, allocations: 67.98 kB / 1.146 GB, free: 104.2 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005752/2.459, allocations: 6.246 MB / 1.152 GB, free: 97.88 MB / 0.6389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/2.459, allocations: 7.938 kB / 1.152 GB, free: 97.87 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/2.474, allocations: 13.61 MB / 1.165 GB, free: 84.55 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00403/2.478, allocations: 1.525 MB / 1.167 GB, free: 83.02 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/2.479, allocations: 63.98 kB / 1.167 GB, free: 82.95 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003829/2.483, allocations: 367.5 kB / 1.167 GB, free: 82.59 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/2.484, allocations: 220.6 kB / 1.168 GB, free: 82.38 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/2.484, allocations: 115.7 kB / 1.168 GB, free: 82.27 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.008953/2.493, allocations: 6.758 MB / 1.174 GB, free: 75.54 MB / 0.6389 GB Notification: Performance of sort global known variables: time 4.01e-07/2.493, allocations: 0 / 1.174 GB, free: 75.54 MB / 0.6389 GB Notification: Performance of remove unused functions: time 0.01467/2.508, allocations: 3.099 MB / 1.177 GB, free: 72.46 MB / 0.6389 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 (334): * Single equations (assignments): 326 * 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.01553/2.523, allocations: 14.48 MB / 1.191 GB, free: 57.86 MB / 0.6389 GB Notification: Performance of simCode: created initialization part: time 0.02014/2.544, allocations: 15.29 MB / 1.206 GB, free: 42.63 MB / 0.6389 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/2.544, allocations: 8.375 kB / 1.206 GB, free: 42.62 MB / 0.6389 GB Notification: Performance of simCode: created simulation system equations: time 0.004475/2.548, allocations: 3.85 MB / 1.21 GB, free: 38.76 MB / 0.6389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007557/2.556, allocations: 1.604 MB / 1.212 GB, free: 37.19 MB / 0.6389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4509/3.007, allocations: 165.4 MB / 1.373 GB, free: 84.44 MB / 0.6389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01448/3.021, allocations: 10.77 MB / 1.384 GB, free: 73.76 MB / 0.6389 GB Notification: Performance of simCode: alias equations: time 0.01251/3.034, allocations: 5.663 MB / 1.389 GB, free: 68.1 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01075/3.044, allocations: 7.142 MB / 1.396 GB, free: 60.96 MB / 0.6389 GB Notification: Performance of SimCode: time 9.92e-07/3.044, allocations: 0 / 1.396 GB, free: 60.96 MB / 0.6389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4952/3.54, allocations: 186.3 MB / 1.578 GB, free: 188.5 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.01/48.55, allocations: 9 kB / 1.578 GB, free: 188.5 MB / 0.6858 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/AbsoluteSensor/AbsoluteSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches