Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",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.01155/0.01155, 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.001356/0.001356, 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 1.965/1.965, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.2737/0.2737, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000686/0.000686, allocations: 16 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1822, allocations: 54.89 MB / 416 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.04534/0.2276, allocations: 21.6 MB / 437.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02524/0.2529, allocations: 6.034 MB / 443.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005709/0.2587, allocations: 111.8 kB / 443.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005025/0.2638, allocations: 1.143 MB / 444.9 MB, free: 5.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.2768, allocations: 3.058 MB / 448 MB, free: 2.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.2802, allocations: 0.5655 MB / 448.5 MB, free: 1.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.3439/0.6242, allocations: 2.01 MB / 450.6 MB, free: 31.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005634/0.6299, allocations: 2.823 MB / 453.4 MB, free: 31.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.632, allocations: 0.8481 MB / 454.2 MB, free: 31.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.6346, allocations: 1.119 MB / 455.3 MB, free: 31.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.6357, allocations: 133.8 kB / 455.5 MB, free: 31.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.6378, allocations: 0.5271 MB / 456 MB, free: 31.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002517/0.6404, allocations: 1.373 MB / 457.4 MB, free: 31.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.6422, allocations: 0.7842 MB / 458.2 MB, free: 31.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007284/0.6495, allocations: 4.967 MB / 463.1 MB, free: 31.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6496, allocations: 0 / 463.1 MB, free: 31.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.6496, allocations: 3.062 kB / 463.1 MB, free: 31.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002914/0.6499, allocations: 0 / 463.1 MB, free: 31.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01061/0.6605, allocations: 3.485 MB / 466.6 MB, free: 29.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.6606, allocations: 9.469 kB / 466.6 MB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002642/0.6632, allocations: 0.7423 MB / 467.4 MB, free: 29.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02147/0.6847, allocations: 3.659 MB / 471 MB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006418/0.6912, allocations: 1.828 MB / 472.9 MB, free: 28.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.6915, allocations: 201.5 kB / 473.1 MB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/0.6934, allocations: 257.2 kB / 473.3 MB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02841/0.7219, allocations: 10.51 MB / 483.8 MB, free: 26.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001914/0.7221, allocations: 31.44 kB / 483.8 MB, free: 26.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/0.7239, allocations: 134.1 kB / 484 MB, free: 26.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009632/0.7336, allocations: 2.432 MB / 486.4 MB, free: 26.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05181/0.7854, allocations: 9.36 MB / 495.8 MB, free: 26.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07798/0.8635, allocations: 38.87 MB / 0.5221 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.8737, allocations: 3.495 MB / 0.5255 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/0.8922, allocations: 5.479 MB / 0.5309 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/0.8924, allocations: 51.06 kB / 0.5309 GB, free: 1.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=153): time 6.542e-06/0.8924, allocations: 0 / 0.5309 GB, free: 1.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=153): time 0.01492/0.9073, allocations: 3.862 MB / 0.5347 GB, free: 13.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.9075, allocations: 166.8 kB / 0.5349 GB, free: 13.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/0.9179, allocations: 3.905 MB / 0.5387 GB, free: 9.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000379/0.9183, allocations: 45.42 kB / 0.5387 GB, free: 9.621 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003954/0.9223, allocations: 3.309 MB / 0.5419 GB, free: 6.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/0.9236, allocations: 0.6178 MB / 0.5425 GB, free: 5.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008655/0.9245, allocations: 126 kB / 0.5427 GB, free: 5.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007496/0.9253, allocations: 0.591 MB / 0.5432 GB, free: 4.996 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00595/0.9313, allocations: 1.973 MB / 0.5452 GB, free: 3.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/0.9418, allocations: 6.237 MB / 0.5513 GB, free: 10.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009203/0.951, allocations: 3.511 MB / 0.5547 GB, free: 7.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001531/0.9512, allocations: 44 kB / 0.5547 GB, free: 7.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02308/0.9743, allocations: 7.854 MB / 0.5624 GB, free: 15.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.9745, allocations: 71.95 kB / 0.5625 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002854/0.9748, allocations: 156.2 kB / 0.5626 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.9752, allocations: 224 kB / 0.5628 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009436/0.9846, allocations: 1.501 MB / 0.5643 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004072/0.9851, allocations: 302.8 kB / 0.5646 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007301/0.9924, allocations: 0.9397 MB / 0.5655 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/0.9939, allocations: 412 kB / 0.5659 GB, free: 11.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (816): * Single equations (assignments): 808 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006455/1, allocations: 2.271 MB / 0.5681 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/1.001, allocations: 315.9 kB / 0.5684 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/1.003, allocations: 420 kB / 0.5688 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000129/1.003, allocations: 41.39 kB / 0.5689 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/1.003, allocations: 4 kB / 0.5689 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.003, allocations: 3.984 kB / 0.5689 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/1.019, allocations: 5.687 MB / 0.5744 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/1.019, allocations: 8.156 kB / 0.5744 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.021, allocations: 215.6 kB / 0.5746 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.333e-05/1.021, allocations: 12 kB / 0.5746 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.021, allocations: 28 kB / 0.5747 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.468e-05/1.021, allocations: 17.69 kB / 0.5747 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/1.021, allocations: 11.94 kB / 0.5747 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/1.027, allocations: 3.238 MB / 0.5779 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.029, allocations: 400.5 kB / 0.5782 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007302/1.029, allocations: 28 kB / 0.5783 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.031, allocations: 63.91 kB / 0.5783 GB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/1.032, allocations: 86.98 kB / 0.5784 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.032, allocations: 49.95 kB / 0.5785 GB, free: 14.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006435/1.038, allocations: 2.371 MB / 0.5808 GB, free: 12.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.038, allocations: 3.938 kB / 0.5808 GB, free: 12.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007189/1.045, allocations: 1.135 MB / 0.5819 GB, free: 10.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (111): * Single equations (assignments): 105 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007653/1.053, allocations: 5.366 MB / 0.5871 GB, free: 5.398 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.065, allocations: 4.488 MB / 0.5915 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.065, allocations: 0 / 0.5915 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/1.068, allocations: 0.9622 MB / 0.5925 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.07, allocations: 329.5 kB / 0.5928 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3704/1.441, allocations: 123.8 MB / 0.7137 GB, free: 60.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006252/1.447, allocations: 3.352 MB / 0.7169 GB, free: 60.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009681/1.457, allocations: 2.267 MB / 0.7192 GB, free: 59.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004171/1.461, allocations: 1.748 MB / 0.7209 GB, free: 59.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/1.461, allocations: 1.031 kB / 0.7209 GB, free: 59.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1546/1.616, allocations: 64.59 MB / 0.7839 GB, free: 23.16 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/1.616, allocations: 178.9 kB / 0.7841 GB, free: 22.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.804/6.42, allocations: 0 / 0.7841 GB, free: 22.92 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat