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.001276/0.001276, allocations: 101.3 kB / 16.27 MB, free: 5.953 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.001388/0.001388, allocations: 190.8 kB / 17.2 MB, free: 5.59 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.446/1.446, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2032/0.2032, allocations: 43.51 MB / 313.9 MB, free: 0.5312 MB / 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.001461/0.001461, allocations: 71.42 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09827, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.02309/0.1214, allocations: 24.68 MB / 465.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.1399, allocations: 8.278 MB / 473.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009259/0.1492, allocations: 207.6 kB / 473.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05292/0.2023, allocations: 22.3 MB / 496.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.2165, allocations: 3.801 MB / 499.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.2276, allocations: 4.039 MB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01841/0.2461, allocations: 10.03 MB / 0.5019 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3165/0.5626, allocations: 32.48 MB / 0.5336 GB, free: 17.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01456/0.5772, allocations: 7.148 MB / 0.5406 GB, free: 17.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0193/0.5965, allocations: 9.067 MB / 0.5495 GB, free: 17.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009993/0.6066, allocations: 2.279 MB / 0.5517 GB, free: 17.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/0.6197, allocations: 3.504 MB / 0.5551 GB, free: 17.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01638/0.6361, allocations: 8.642 MB / 0.5635 GB, free: 16.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02225/0.6584, allocations: 10.09 MB / 0.5734 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04048/0.699, allocations: 33.59 MB / 0.6062 GB, free: 5.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.699, allocations: 0 / 0.6062 GB, free: 5.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.699, allocations: 0 / 0.6062 GB, free: 5.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.001493/0.7005, allocations: 0 / 0.6062 GB, free: 5.203 MB / 430.1 MB 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.06094/0.7615, allocations: 17.61 MB / 0.6234 GB, free: 5.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.7616, allocations: 15.89 kB / 0.6234 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0143/0.7759, allocations: 2.909 MB / 0.6262 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1004/0.8763, allocations: 8.465 MB / 0.6345 GB, free: 9.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02513/0.9015, allocations: 8.557 MB / 0.6429 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001315/0.9029, allocations: 1.277 MB / 0.6441 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008676/0.9115, allocations: 1.682 MB / 0.6458 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1073/1.019, allocations: 37.86 MB / 0.6827 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001036/1.02, allocations: 127.9 kB / 0.6829 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007518/1.028, allocations: 0.7505 MB / 0.6836 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007103/1.035, allocations: 4.182 MB / 0.6877 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07416/1.109, allocations: 28.5 MB / 0.7155 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7171/1.826, allocations: 126.9 MB / 0.8394 GB, free: 99.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02502/1.851, allocations: 8.789 MB / 0.848 GB, free: 94.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005417/1.857, allocations: 4.255 MB / 0.8522 GB, free: 92.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/1.867, allocations: 14.69 MB / 0.8665 GB, free: 78.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/1.867, allocations: 82.56 kB / 0.8666 GB, free: 78.19 MB / 0.545 GB Notification: Performance of pre-optimization done (n=313): time 1.381e-05/1.867, allocations: 0 / 0.8666 GB, free: 78.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=374): time 0.144/2.011, allocations: 56.41 MB / 0.9217 GB, free: 21.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/2.011, allocations: 214.3 kB / 0.9219 GB, free: 21.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02388/2.035, allocations: 10.97 MB / 0.9326 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/2.036, allocations: 81.7 kB / 0.9327 GB, free: 10.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.3227/2.359, allocations: 11.26 MB / 0.9437 GB, free: 182.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002899/2.362, allocations: 1.579 MB / 0.9452 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009478/2.371, allocations: 3.952 MB / 0.9491 GB, free: 182.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/2.372, allocations: 305.5 kB / 0.9494 GB, free: 182.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01328/2.385, allocations: 6.757 MB / 0.956 GB, free: 180.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02151/2.406, allocations: 19.43 MB / 0.9749 GB, free: 160.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03387/2.44, allocations: 28.27 MB / 1.003 GB, free: 135.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008614/2.441, allocations: 128.1 kB / 1.003 GB, free: 135.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=2444) (initialization): time 0.04864/2.49, allocations: 25.76 MB / 1.028 GB, free: 116.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000842/2.491, allocations: 202.8 kB / 1.028 GB, free: 115.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001059/2.492, allocations: 448 kB / 1.028 GB, free: 115.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003289/2.495, allocations: 1.571 MB / 1.03 GB, free: 114.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0138/2.509, allocations: 4.518 MB / 1.034 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008112/2.517, allocations: 7.95 MB / 1.042 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/2.531, allocations: 1.086 MB / 1.043 GB, free: 102.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003792/2.535, allocations: 1.189 MB / 1.044 GB, free: 101 MB / 0.545 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.01744/2.553, allocations: 8.052 MB / 1.052 GB, free: 92.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/2.555, allocations: 0.8637 MB / 1.053 GB, free: 92.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/2.569, allocations: 8.256 MB / 1.061 GB, free: 83.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.983e-05/2.569, allocations: 44 kB / 1.061 GB, free: 83.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/2.569, allocations: 8 kB / 1.061 GB, free: 83.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.918e-05/2.569, allocations: 15.94 kB / 1.061 GB, free: 83.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0524/2.621, allocations: 24.48 MB / 1.085 GB, free: 59.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/2.621, allocations: 4 kB / 1.085 GB, free: 59.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/2.625, allocations: 0.7024 MB / 1.086 GB, free: 58.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/2.627, allocations: 0.9411 MB / 1.087 GB, free: 57.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000684/2.628, allocations: 68.86 kB / 1.087 GB, free: 57.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006564/2.635, allocations: 6.2 MB / 1.093 GB, free: 51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.635, allocations: 4 kB / 1.093 GB, free: 51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/2.653, allocations: 13.55 MB / 1.106 GB, free: 37.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/2.657, allocations: 1.466 MB / 1.108 GB, free: 35.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/2.659, allocations: 69.62 kB / 1.108 GB, free: 35.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005059/2.664, allocations: 367.5 kB / 1.108 GB, free: 35.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009632/2.665, allocations: 227.9 kB / 1.108 GB, free: 35.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005722/2.666, allocations: 112.7 kB / 1.108 GB, free: 35.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01421/2.68, allocations: 6.758 MB / 1.115 GB, free: 28.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.11e-07/2.68, allocations: 0 / 1.115 GB, free: 28.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01934/2.699, allocations: 3.09 MB / 1.118 GB, free: 25.25 MB / 0.545 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.02037/2.72, allocations: 14.42 MB / 1.132 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.269/2.989, allocations: 21.12 MB / 1.153 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.785e-05/2.989, allocations: 3.125 kB / 1.153 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006347/2.995, allocations: 3.848 MB / 1.156 GB, free: 194 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008818/3.004, allocations: 1.615 MB / 1.158 GB, free: 193.8 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.498/3.502, allocations: 201.7 MB / 1.355 GB, free: 178.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02952/3.532, allocations: 10.76 MB / 1.365 GB, free: 177.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.01962/3.551, allocations: 5.662 MB / 1.371 GB, free: 177 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01401/3.565, allocations: 7.139 MB / 1.378 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.734e-06/3.565, allocations: 0 / 1.378 GB, free: 172.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5035/4.069, allocations: 182.2 MB / 1.556 GB, free: 166.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/19.75, allocations: 12.78 kB / 1.556 GB, free: 166.5 MB / 0.5607 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