Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01073/0.01073, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001176/0.001176, allocations: 181.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.033/2.033, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2739/0.2739, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004959, allocations: 8 kB / 361.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1307, allocations: 54.88 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.4034/0.5342, allocations: 53.8 MB / 469.8 MB, free: 30.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04171/0.576, allocations: 14.44 MB / 484.3 MB, free: 24.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01548/0.5915, allocations: 300.3 kB / 484.6 MB, free: 24.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.6027, allocations: 2.951 MB / 487.5 MB, free: 23.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03148/0.6342, allocations: 7.032 MB / 494.5 MB, free: 21.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009805/0.6441, allocations: 1.642 MB / 496.2 MB, free: 20.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03862/0.6828, allocations: 12.24 MB / 0.4965 GB, free: 16.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08367/0.7665, allocations: 36.41 MB / 0.5321 GB, free: 4.887 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007545/0.7741, allocations: 2.718 MB / 0.5347 GB, free: 2.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009376/0.7836, allocations: 3.624 MB / 0.5383 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003295/0.7869, allocations: 0.5234 MB / 0.5388 GB, free: 14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007375/0.7943, allocations: 1.686 MB / 0.5404 GB, free: 12.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01055/0.805, allocations: 5.666 MB / 0.546 GB, free: 6.633 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006775/0.8118, allocations: 3.227 MB / 0.5491 GB, free: 3.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04423/0.8561, allocations: 27.64 MB / 0.5761 GB, free: 7.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8561, allocations: 4 kB / 0.5761 GB, free: 7.676 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.8562, allocations: 0 / 0.5761 GB, free: 7.676 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001178/0.8573, allocations: 0 / 0.5761 GB, free: 7.676 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.05607/0.9134, allocations: 13.44 MB / 0.5892 GB, free: 10.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.9135, allocations: 8.031 kB / 0.5892 GB, free: 10.12 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01418/0.9277, allocations: 2.849 MB / 0.592 GB, free: 7.266 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2013/1.129, allocations: 9.706 MB / 0.6015 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03597/1.165, allocations: 8.059 MB / 0.6094 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002584/1.168, allocations: 1.252 MB / 0.6106 GB, free: 4.145 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01031/1.178, allocations: 1.652 MB / 0.6122 GB, free: 2.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8584/2.037, allocations: 38.99 MB / 0.6503 GB, free: 116.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001039/2.038, allocations: 121 kB / 0.6504 GB, free: 116.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006438/2.044, allocations: 0.7443 MB / 0.6511 GB, free: 116 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008178/2.052, allocations: 3.898 MB / 0.6549 GB, free: 115.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1409/2.193, allocations: 29.71 MB / 0.6839 GB, free: 105.4 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/2.437, allocations: 123.3 MB / 0.8044 GB, free: 3.891 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08175/2.519, allocations: 12.99 MB / 0.817 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7669/3.286, allocations: 15.25 MB / 0.8319 GB, free: 137.9 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/3.286, allocations: 59.72 kB / 0.832 GB, free: 137.8 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=274): time 8.967e-06/3.286, allocations: 4.219 kB / 0.832 GB, free: 137.8 MB / 0.5107 GB Notification: Performance of matching and sorting (n=309): time 0.3914/3.678, allocations: 78.38 MB / 0.9085 GB, free: 111.6 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/3.678, allocations: 209.9 kB / 0.9087 GB, free: 111.4 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02435/3.702, allocations: 10.77 MB / 0.9193 GB, free: 100.6 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.0007761/3.703, allocations: 81.23 kB / 0.9193 GB, free: 100.5 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.008434/3.712, allocations: 11.05 MB / 0.9301 GB, free: 89.5 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/3.714, allocations: 1.358 MB / 0.9315 GB, free: 88.16 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002056/3.716, allocations: 364 kB / 0.9318 GB, free: 87.8 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.002038/3.718, allocations: 1.078 MB / 0.9329 GB, free: 86.71 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/3.733, allocations: 6.095 MB / 0.9388 GB, free: 80.61 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02243/3.756, allocations: 18.49 MB / 0.9569 GB, free: 55.89 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02235/3.778, allocations: 10.64 MB / 0.9673 GB, free: 45.25 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004024/3.779, allocations: 124 kB / 0.9674 GB, free: 45.13 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2349) (initialization): time 0.05586/3.835, allocations: 23.49 MB / 0.9903 GB, free: 21.65 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.000349/3.835, allocations: 196 kB / 0.9905 GB, free: 21.46 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006842/3.836, allocations: 448 kB / 0.9909 GB, free: 21.02 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/3.838, allocations: 0.8965 MB / 0.9918 GB, free: 20.12 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02481/3.863, allocations: 4.39 MB / 0.9961 GB, free: 15.72 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/3.87, allocations: 4.001 MB / 1 GB, free: 11.59 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0173/3.887, allocations: 1.069 MB / 1.001 GB, free: 10.52 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003388/3.89, allocations: 1.151 MB / 1.002 GB, free: 9.371 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2036 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.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],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.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 (2303): * Single equations (assignments): 2295 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01859/3.909, allocations: 7.855 MB / 1.01 GB, free: 1.484 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001828/3.911, allocations: 0.829 MB / 1.011 GB, free: 0.6445 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4039/4.315, allocations: 6.212 MB / 1.017 GB, free: 132.9 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001224/4.315, allocations: 38.62 kB / 1.017 GB, free: 132.9 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/4.315, allocations: 3.188 kB / 1.017 GB, free: 132.9 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.974e-05/4.315, allocations: 17.02 kB / 1.017 GB, free: 132.9 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06574/4.381, allocations: 21.37 MB / 1.038 GB, free: 126.7 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/4.381, allocations: 6.406 kB / 1.038 GB, free: 126.7 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005801/4.387, allocations: 0.6046 MB / 1.038 GB, free: 126.6 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/4.388, allocations: 233.1 kB / 1.038 GB, free: 126.6 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007031/4.389, allocations: 68.42 kB / 1.039 GB, free: 126.5 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004672/4.393, allocations: 2.573 MB / 1.041 GB, free: 124.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/4.394, allocations: 8.812 kB / 1.041 GB, free: 124.8 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02627/4.42, allocations: 11.2 MB / 1.052 GB, free: 119.6 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005014/4.425, allocations: 1.292 MB / 1.053 GB, free: 119.4 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002483/4.427, allocations: 52.91 kB / 1.053 GB, free: 119.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007059/4.434, allocations: 374.1 kB / 1.054 GB, free: 119.3 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001045/4.436, allocations: 182.5 kB / 1.054 GB, free: 119.2 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000449/4.436, allocations: 99.64 kB / 1.054 GB, free: 119.2 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.01893/4.455, allocations: 6.627 MB / 1.06 GB, free: 116.9 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.373e-06/4.455, allocations: 0 / 1.06 GB, free: 116.9 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0195/4.475, allocations: 2.928 MB / 1.063 GB, free: 116.5 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.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 (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02595/4.501, allocations: 12.45 MB / 1.075 GB, free: 110.5 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.03062/4.531, allocations: 13.56 MB / 1.089 GB, free: 105.6 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/4.531, allocations: 4.344 kB / 1.089 GB, free: 105.6 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.006988/4.538, allocations: 2.959 MB / 1.092 GB, free: 104.5 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009639/4.548, allocations: 1.384 MB / 1.093 GB, free: 104 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.125/5.673, allocations: 422.2 MB / 1.505 GB, free: 198.4 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0321/5.706, allocations: 10.74 MB / 1.516 GB, free: 194.7 MB / 0.6513 GB Notification: Performance of simCode: alias equations: time 0.02556/5.731, allocations: 5.356 MB / 1.521 GB, free: 194.6 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0153/5.747, allocations: 6.831 MB / 1.528 GB, free: 188.8 MB / 0.6513 GB Notification: Performance of SimCode: time 1.493e-06/5.747, allocations: 0 / 1.528 GB, free: 188.8 MB / 0.6513 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8429/6.59, allocations: 204.2 MB / 1.727 GB, free: 201.8 MB / 0.6513 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/6.59, allocations: 204.8 kB / 1.727 GB, free: 201.6 MB / 0.6513 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/17.69, allocations: 0 / 1.727 GB, free: 201.6 MB / 0.6513 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat