Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01112/0.01113, allocations: 104.4 kB / 15.05 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.1.mo): time 0.001206/0.001206, allocations: 168 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.597/1.597, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2522/0.2522, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09144, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor): time 0.08366/0.1752, allocations: 53.78 MB / 426.1 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3588/0.534, allocations: 14.39 MB / 440.5 MB, free: 8.684 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01363/0.5477, allocations: 300.5 kB / 440.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.5588, allocations: 2.953 MB / 443.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02913/0.588, allocations: 7.036 MB / 450.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008782/0.5968, allocations: 1.655 MB / 452.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0354/0.6323, allocations: 12.26 MB / 464.7 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07838/0.7107, allocations: 36.39 MB / 0.4893 GB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007107/0.7179, allocations: 2.722 MB / 0.492 GB, free: 12.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008962/0.7269, allocations: 3.629 MB / 0.4955 GB, free: 9.953 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003291/0.7303, allocations: 0.5234 MB / 0.496 GB, free: 9.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007233/0.7375, allocations: 1.682 MB / 0.4977 GB, free: 7.973 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009443/0.747, allocations: 5.677 MB / 0.5032 GB, free: 3.305 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006146/0.7532, allocations: 3.219 MB / 0.5063 GB, free: 72 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04178/0.7951, allocations: 27.64 MB / 0.5333 GB, free: 4.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7951, allocations: 0 / 0.5333 GB, free: 4.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7952, allocations: 0 / 0.5333 GB, free: 4.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.001068/0.7962, allocations: 0 / 0.5333 GB, free: 4.918 MB / 394.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.04738/0.8436, allocations: 13.45 MB / 0.5465 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.8437, allocations: 8.031 kB / 0.5465 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01116/0.8549, allocations: 2.849 MB / 0.5493 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.186/1.041, allocations: 9.708 MB / 0.5587 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02604/1.067, allocations: 8.05 MB / 0.5666 GB, free: 2.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001768/1.069, allocations: 1.254 MB / 0.5678 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007219/1.076, allocations: 1.648 MB / 0.5694 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7628/1.839, allocations: 39 MB / 0.6075 GB, free: 134.4 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001381/1.84, allocations: 122.2 kB / 0.6076 GB, free: 134.4 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006883/1.847, allocations: 0.7345 MB / 0.6084 GB, free: 133.9 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009854/1.857, allocations: 3.905 MB / 0.6122 GB, free: 133.1 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1057/1.963, allocations: 29.71 MB / 0.6412 GB, free: 119.6 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2102/2.173, allocations: 123.3 MB / 0.7616 GB, free: 13.91 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07371/2.247, allocations: 12.99 MB / 0.7743 GB, free: 0.7539 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6393/2.886, allocations: 15.25 MB / 0.7892 GB, free: 136.2 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/2.887, allocations: 70.16 kB / 0.7893 GB, free: 136.1 MB / 474.9 MB Notification: Performance of pre-optimization done (n=274): time 8.035e-06/2.887, allocations: 5 kB / 0.7893 GB, free: 136.1 MB / 474.9 MB Notification: Performance of matching and sorting (n=309): time 0.3878/3.274, allocations: 78.39 MB / 0.8658 GB, free: 88.05 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/3.275, allocations: 209.9 kB / 0.866 GB, free: 87.8 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02565/3.3, allocations: 10.76 MB / 0.8765 GB, free: 77.05 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0008079/3.301, allocations: 79.34 kB / 0.8766 GB, free: 76.96 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00897/3.31, allocations: 11.06 MB / 0.8874 GB, free: 65.92 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.00209/3.312, allocations: 1.358 MB / 0.8887 GB, free: 64.57 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/3.315, allocations: 364.1 kB / 0.8891 GB, free: 64.22 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.002255/3.317, allocations: 1.078 MB / 0.8901 GB, free: 63.14 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01552/3.332, allocations: 6.106 MB / 0.8961 GB, free: 57.01 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02292/3.355, allocations: 18.49 MB / 0.9141 GB, free: 32.29 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02252/3.378, allocations: 10.64 MB / 0.9245 GB, free: 21.65 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004013/3.378, allocations: 128 kB / 0.9246 GB, free: 21.53 MB / 474.9 MB Notification: Performance of matching and sorting (n=2349) (initialization): time 0.4118/3.79, allocations: 23.47 MB / 0.9476 GB, free: 122.4 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003949/3.791, allocations: 197 kB / 0.9478 GB, free: 122.4 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000789/3.792, allocations: 445.7 kB / 0.9482 GB, free: 122.4 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/3.794, allocations: 0.8968 MB / 0.9491 GB, free: 122.4 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02598/3.82, allocations: 4.39 MB / 0.9533 GB, free: 122.4 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007636/3.828, allocations: 4.002 MB / 0.9573 GB, free: 121.1 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01797/3.846, allocations: 1.068 MB / 0.9583 GB, free: 121.1 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003834/3.85, allocations: 1.154 MB / 0.9594 GB, free: 121.1 MB / 490.9 MB 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.01992/3.87, allocations: 7.861 MB / 0.9671 GB, free: 119.8 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/3.872, allocations: 0.8276 MB / 0.9679 GB, free: 119.8 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02435/3.896, allocations: 6.211 MB / 0.974 GB, free: 117.4 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001408/3.897, allocations: 34.66 kB / 0.974 GB, free: 117.4 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/3.897, allocations: 9.203 kB / 0.974 GB, free: 117.4 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.372e-05/3.897, allocations: 14.72 kB / 0.974 GB, free: 117.4 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06862/3.965, allocations: 21.36 MB / 0.9949 GB, free: 109.6 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001008/3.965, allocations: 10.03 kB / 0.9949 GB, free: 109.6 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01009/3.976, allocations: 0.603 MB / 0.9955 GB, free: 109.6 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/3.977, allocations: 247.4 kB / 0.9957 GB, free: 109.6 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00073/3.978, allocations: 60.81 kB / 0.9958 GB, free: 109.5 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/3.982, allocations: 2.573 MB / 0.9983 GB, free: 107.8 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/3.982, allocations: 6.875 kB / 0.9983 GB, free: 107.8 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02338/4.006, allocations: 11.21 MB / 1.009 GB, free: 102.7 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004971/4.011, allocations: 1.294 MB / 1.011 GB, free: 102.2 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002278/4.013, allocations: 58.78 kB / 1.011 GB, free: 102.2 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007075/4.02, allocations: 382.4 kB / 1.011 GB, free: 102.2 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/4.021, allocations: 166.4 kB / 1.011 GB, free: 102.1 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004084/4.022, allocations: 109.8 kB / 1.011 GB, free: 102.1 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.01614/4.038, allocations: 6.626 MB / 1.018 GB, free: 99.75 MB / 490.9 MB Notification: Performance of sort global known variables: time 7.02e-07/4.038, allocations: 0 / 1.018 GB, free: 99.75 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.02058/4.058, allocations: 2.915 MB / 1.021 GB, free: 96.85 MB / 490.9 MB 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.02437/4.083, allocations: 12.45 MB / 1.033 GB, free: 85.5 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.03036/4.113, allocations: 13.56 MB / 1.046 GB, free: 73.71 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/4.113, allocations: 4.438 kB / 1.046 GB, free: 73.71 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.007062/4.12, allocations: 2.965 MB / 1.049 GB, free: 70.75 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009916/4.13, allocations: 1.367 MB / 1.05 GB, free: 69.39 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.084/5.215, allocations: 422.2 MB / 1.462 GB, free: 120 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02747/5.242, allocations: 10.74 MB / 1.473 GB, free: 114.9 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.02448/5.267, allocations: 5.358 MB / 1.478 GB, free: 110.2 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01418/5.281, allocations: 6.822 MB / 1.485 GB, free: 103.4 MB / 0.5888 GB Notification: Performance of SimCode: time 2.024e-06/5.281, allocations: 6.844 kB / 1.485 GB, free: 103.4 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8218/6.103, allocations: 204.2 MB / 1.684 GB, free: 98.59 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003768/6.103, allocations: 216.8 kB / 1.684 GB, free: 98.34 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/16.84, allocations: 0 / 1.684 GB, free: 98.34 MB / 0.5888 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat