Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutTorque2",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.01158/0.01158, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001382/0.001382, allocations: 179.2 kB / 15.95 MB, free: 5.957 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.966/1.966, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.2744/0.2744, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006957/0.0006958, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1373, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.04931/0.1866, allocations: 32 MB / 448 MB, free: 2.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3244/0.5111, allocations: 7.386 MB / 455.4 MB, free: 30.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006038/0.5172, allocations: 149 kB / 455.5 MB, free: 30.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005361/0.5226, allocations: 1.647 MB / 457.2 MB, free: 30.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01645/0.5391, allocations: 4.632 MB / 461.8 MB, free: 30.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.5415, allocations: 258.1 kB / 462.1 MB, free: 30.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003563/0.5451, allocations: 1.367 MB / 463.4 MB, free: 30.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005405/0.5505, allocations: 3.01 MB / 466.5 MB, free: 30.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.5517, allocations: 0.5957 MB / 467 MB, free: 30.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.5532, allocations: 0.7882 MB / 467.8 MB, free: 29.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005597/0.5538, allocations: 99.03 kB / 467.9 MB, free: 29.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.5553, allocations: 0.5186 MB / 468.5 MB, free: 29.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001527/0.5569, allocations: 0.9923 MB / 469.4 MB, free: 29.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008808/0.5579, allocations: 0.5659 MB / 470 MB, free: 29.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005013/0.5629, allocations: 3.715 MB / 473.7 MB, free: 29.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5629, allocations: 0 / 473.7 MB, free: 29.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.563, allocations: 0 / 473.7 MB, free: 29.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001682/0.5631, allocations: 0 / 473.7 MB, free: 29.38 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.007549/0.5707, allocations: 2.648 MB / 476.4 MB, free: 28.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.5708, allocations: 9.125 kB / 476.4 MB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001856/0.5726, allocations: 0.5208 MB / 476.9 MB, free: 27.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.5843, allocations: 1.947 MB / 478.8 MB, free: 27.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/0.589, allocations: 1.387 MB / 480.2 MB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.5893, allocations: 156.1 kB / 480.4 MB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.5905, allocations: 209.4 kB / 480.6 MB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01989/0.6104, allocations: 6.981 MB / 487.6 MB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.6106, allocations: 13.94 kB / 487.6 MB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005593/0.6112, allocations: 94.8 kB / 487.7 MB, free: 26.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004251/0.6154, allocations: 1.524 MB / 489.2 MB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.6355, allocations: 5.972 MB / 495.2 MB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04332/0.6789, allocations: 22.18 MB / 0.5052 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007125/0.6861, allocations: 2.195 MB / 0.5074 GB, free: 9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.6975, allocations: 3.983 MB / 0.5113 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.6976, allocations: 43.22 kB / 0.5113 GB, free: 5.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 7.494e-06/0.6976, allocations: 0 / 0.5113 GB, free: 5.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.009657/0.7073, allocations: 2.51 MB / 0.5138 GB, free: 3.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.7074, allocations: 60.06 kB / 0.5138 GB, free: 3.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.711, allocations: 2.014 MB / 0.5158 GB, free: 1.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.7112, allocations: 33.7 kB / 0.5158 GB, free: 1.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.7129, allocations: 2.002 MB / 0.5178 GB, free: 15.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006349/0.7136, allocations: 378.5 kB / 0.5181 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.7139, allocations: 69.75 kB / 0.5182 GB, free: 14.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000453/0.7143, allocations: 0.4979 MB / 0.5187 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.7171, allocations: 0.9745 MB / 0.5196 GB, free: 13.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/0.7218, allocations: 2.954 MB / 0.5225 GB, free: 9.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/0.7266, allocations: 1.693 MB / 0.5242 GB, free: 7.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.7268, allocations: 20 kB / 0.5242 GB, free: 7.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.0176/0.7444, allocations: 3.84 MB / 0.5279 GB, free: 3.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.7446, allocations: 32 kB / 0.528 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001713/0.7448, allocations: 72 kB / 0.528 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002546/0.7451, allocations: 104 kB / 0.5281 GB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006899/0.752, allocations: 0.7174 MB / 0.5288 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002633/0.7523, allocations: 139.4 kB / 0.529 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005424/0.7578, allocations: 453.1 kB / 0.5294 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009225/0.7587, allocations: 206.6 kB / 0.5296 GB, free: 2.035 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 393 * Array equations: 5 * 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.004574/0.7633, allocations: 1.451 MB / 0.531 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/0.7638, allocations: 169.8 kB / 0.5312 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.7672, allocations: 1.229 MB / 0.5324 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.7673, allocations: 14.58 kB / 0.5324 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.7673, allocations: 3.984 kB / 0.5324 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.7673, allocations: 3.984 kB / 0.5324 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.782, allocations: 5.023 MB / 0.5373 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/0.782, allocations: 11.95 kB / 0.5373 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.7832, allocations: 147.9 kB / 0.5375 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-05/0.7833, allocations: 13.75 kB / 0.5375 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.7834, allocations: 27.98 kB / 0.5375 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.702e-05/0.7835, allocations: 19.94 kB / 0.5375 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-05/0.7835, allocations: 19.88 kB / 0.5375 GB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.7877, allocations: 2.324 MB / 0.5398 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/0.7887, allocations: 270.5 kB / 0.5401 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005719/0.7893, allocations: 28 kB / 0.5401 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.7909, allocations: 35.97 kB / 0.5401 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/0.7912, allocations: 83.7 kB / 0.5402 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.7914, allocations: 38.27 kB / 0.5402 GB, free: 6.441 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004553/0.796, allocations: 1.316 MB / 0.5415 GB, free: 5.102 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.796, allocations: 4 kB / 0.5415 GB, free: 5.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006029/0.8021, allocations: 0.7619 MB / 0.5423 GB, free: 4.336 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * Array equations: 3 * 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.007437/0.8096, allocations: 5.562 MB / 0.5477 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007833/0.8174, allocations: 2.271 MB / 0.5499 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-05/0.8175, allocations: 4 kB / 0.5499 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.8196, allocations: 0.5678 MB / 0.5505 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.8221, allocations: 228.1 kB / 0.5507 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05227/0.8744, allocations: 58.59 MB / 0.6079 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004214/0.8787, allocations: 2.51 MB / 0.6104 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004513/0.8832, allocations: 1.035 MB / 0.6114 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002736/0.886, allocations: 1.151 MB / 0.6125 GB, free: 10.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/0.886, allocations: 0 / 0.6125 GB, free: 10.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3981/1.284, allocations: 39.11 MB / 0.6507 GB, free: 155.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/1.284, allocations: 176 kB / 0.6509 GB, free: 154.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.798/5.083, allocations: 11.94 kB / 0.6509 GB, free: 154.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat