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.001375/0.001375, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001373/0.001373, allocations: 185.5 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2254/0.2254, 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.0022/0.0022, allocations: 67.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1204, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.03145/0.1519, allocations: 24.69 MB / 0.5115 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02192/0.1739, allocations: 8.282 MB / 0.5196 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008496/0.1825, allocations: 203.6 kB / 0.5198 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2924/0.475, allocations: 22.3 MB / 0.5416 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.4905, allocations: 3.8 MB / 0.5453 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01057/0.5011, allocations: 4.034 MB / 0.5492 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02184/0.523, allocations: 10.03 MB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04933/0.5724, allocations: 32.45 MB / 0.5907 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01553/0.588, allocations: 7.159 MB / 0.5977 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01704/0.6051, allocations: 9.061 MB / 0.6065 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007345/0.6125, allocations: 2.277 MB / 0.6088 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.6227, allocations: 3.512 MB / 0.6122 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01376/0.6365, allocations: 8.641 MB / 0.6206 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02192/0.6584, allocations: 10.09 MB / 0.6305 GB, free: 3.863 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04561/0.7041, allocations: 34.23 MB / 0.6639 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.7042, allocations: 0 / 0.6639 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.407e-06/0.7042, allocations: 0 / 0.6639 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.001305/0.7055, allocations: 0 / 0.6639 GB, free: 2.105 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.05201/0.7575, allocations: 18.03 MB / 0.6815 GB, free: 112 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7576, allocations: 11.89 kB / 0.6815 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00964/0.7672, allocations: 2.907 MB / 0.6844 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1032/0.8704, allocations: 8.557 MB / 0.6927 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01935/0.8898, allocations: 8.642 MB / 0.7012 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.8911, allocations: 1.281 MB / 0.7024 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006894/0.898, allocations: 1.683 MB / 0.7041 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0874/0.9854, allocations: 37.85 MB / 0.741 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006975/0.9862, allocations: 138.9 kB / 0.7412 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005081/0.9913, allocations: 0.7495 MB / 0.7419 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006953/0.9982, allocations: 4.177 MB / 0.746 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5473/1.546, allocations: 28.5 MB / 0.7738 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1424/1.688, allocations: 126.4 MB / 0.8973 GB, free: 66.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/1.711, allocations: 8.793 MB / 0.9058 GB, free: 57.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004387/1.715, allocations: 4.261 MB / 0.91 GB, free: 53.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008324/1.724, allocations: 14.69 MB / 0.9244 GB, free: 36.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/1.724, allocations: 64.56 kB / 0.9244 GB, free: 36.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=313): time 7.905e-06/1.724, allocations: 8 kB / 0.9244 GB, free: 36.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=374): time 0.1459/1.87, allocations: 57.21 MB / 0.9803 GB, free: 11.58 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.87, allocations: 214.5 kB / 0.9805 GB, free: 11.33 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02111/1.891, allocations: 11.01 MB / 0.9912 GB, free: 0.543 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0008223/1.892, allocations: 82.5 kB / 0.9913 GB, free: 468 kB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.01156/1.903, allocations: 11.78 MB / 1.003 GB, free: 4.777 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002591/1.906, allocations: 1.645 MB / 1.004 GB, free: 3.152 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5275/2.434, allocations: 3.984 MB / 1.008 GB, free: 213.7 MB / 0.6389 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/2.434, allocations: 306.1 kB / 1.009 GB, free: 213.4 MB / 0.6389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01263/2.446, allocations: 6.757 MB / 1.015 GB, free: 212.9 MB / 0.6389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02018/2.467, allocations: 19.43 MB / 1.034 GB, free: 193.1 MB / 0.6389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0284/2.495, allocations: 28.26 MB / 1.062 GB, free: 168 MB / 0.6389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007997/2.496, allocations: 127.2 kB / 1.062 GB, free: 168 MB / 0.6389 GB Notification: Performance of matching and sorting (n=2444) (initialization): time 0.05031/2.546, allocations: 25.79 MB / 1.087 GB, free: 157.5 MB / 0.6389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003765/2.547, allocations: 196 kB / 1.087 GB, free: 157.4 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005871/2.547, allocations: 452 kB / 1.088 GB, free: 156.9 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003102/2.55, allocations: 1.562 MB / 1.089 GB, free: 155.7 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/2.564, allocations: 4.529 MB / 1.094 GB, free: 151.7 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/2.572, allocations: 7.946 MB / 1.101 GB, free: 144.7 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01458/2.586, allocations: 1.093 MB / 1.102 GB, free: 143.8 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003449/2.59, allocations: 1.19 MB / 1.104 GB, free: 142.6 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.0152/2.605, allocations: 8.047 MB / 1.112 GB, free: 135.7 MB / 0.6389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/2.607, allocations: 0.9107 MB / 1.112 GB, free: 135.3 MB / 0.6389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/2.619, allocations: 8.258 MB / 1.12 GB, free: 128.4 MB / 0.6389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.707e-05/2.619, allocations: 40 kB / 1.121 GB, free: 128.4 MB / 0.6389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/2.619, allocations: 8 kB / 1.121 GB, free: 128.4 MB / 0.6389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/2.619, allocations: 18.27 kB / 1.121 GB, free: 128.4 MB / 0.6389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03966/2.658, allocations: 24.28 MB / 1.144 GB, free: 105.6 MB / 0.6389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/2.659, allocations: 5.125 kB / 1.144 GB, free: 105.6 MB / 0.6389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/2.662, allocations: 0.7025 MB / 1.145 GB, free: 104.9 MB / 0.6389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/2.664, allocations: 0.9464 MB / 1.146 GB, free: 104 MB / 0.6389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006543/2.665, allocations: 71.98 kB / 1.146 GB, free: 103.9 MB / 0.6389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009741/2.675, allocations: 6.248 MB / 1.152 GB, free: 97.58 MB / 0.6389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/2.675, allocations: 8 kB / 1.152 GB, free: 97.57 MB / 0.6389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/2.693, allocations: 13.61 MB / 1.165 GB, free: 84.25 MB / 0.6389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005502/2.699, allocations: 1.513 MB / 1.167 GB, free: 82.72 MB / 0.6389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002175/2.701, allocations: 72.45 kB / 1.167 GB, free: 82.66 MB / 0.6389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0043/2.705, allocations: 367.5 kB / 1.167 GB, free: 82.3 MB / 0.6389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005735/2.706, allocations: 218 kB / 1.167 GB, free: 82.08 MB / 0.6389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/2.706, allocations: 115.7 kB / 1.168 GB, free: 81.97 MB / 0.6389 GB Notification: Performance of sorting global known variables: time 0.01065/2.717, allocations: 6.758 MB / 1.174 GB, free: 75.25 MB / 0.6389 GB Notification: Performance of sort global known variables: time 7.41e-07/2.717, allocations: 0 / 1.174 GB, free: 75.25 MB / 0.6389 GB Notification: Performance of remove unused functions: time 0.01655/2.733, allocations: 3.094 MB / 1.177 GB, free: 72.16 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.01736/2.751, allocations: 14.48 MB / 1.191 GB, free: 57.56 MB / 0.6389 GB Notification: Performance of simCode: created initialization part: time 0.02229/2.773, allocations: 15.3 MB / 1.206 GB, free: 42.33 MB / 0.6389 GB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/2.773, allocations: 448 / 1.206 GB, free: 42.33 MB / 0.6389 GB Notification: Performance of simCode: created simulation system equations: time 0.004896/2.778, allocations: 3.849 MB / 1.21 GB, free: 38.46 MB / 0.6389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007921/2.786, allocations: 1.619 MB / 1.212 GB, free: 36.9 MB / 0.6389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5283/3.314, allocations: 165.4 MB / 1.373 GB, free: 83.33 MB / 0.6389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02321/3.338, allocations: 10.76 MB / 1.384 GB, free: 72.98 MB / 0.6389 GB Notification: Performance of simCode: alias equations: time 0.01403/3.352, allocations: 5.665 MB / 1.389 GB, free: 67.32 MB / 0.6389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01072/3.363, allocations: 7.134 MB / 1.396 GB, free: 60.18 MB / 0.6389 GB Notification: Performance of SimCode: time 7.91e-07/3.363, allocations: 3.828 kB / 1.396 GB, free: 60.18 MB / 0.6389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5928/3.955, allocations: 186.3 MB / 1.578 GB, free: 188.1 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.1/50.05, allocations: 9.062 kB / 1.578 GB, free: 188.1 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