Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.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.Rotational.TestBraking,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestBraking",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.0115/0.0115, allocations: 108.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.001422/0.001422, allocations: 181.3 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.104/2.104, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2683/0.2683, allocations: 40.04 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 15.98 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 54.87 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003171/0.1634, allocations: 1.7 MB / 417.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.165, allocations: 0.6755 MB / 418.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.1652, allocations: 4 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.967e-05/0.1653, allocations: 19.78 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1655, allocations: 83.75 kB / 418.5 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.166, allocations: 75.88 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.1663, allocations: 183.5 kB / 418.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1666, allocations: 52.67 kB / 418.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1667, allocations: 71.73 kB / 418.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1669, allocations: 91.55 kB / 419 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.1669, allocations: 12 kB / 419 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.806e-05/0.167, allocations: 8 kB / 419 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.1671, allocations: 43.84 kB / 419 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.1671, allocations: 57.64 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1674, allocations: 171.7 kB / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1674, allocations: 0 / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1674, allocations: 0 / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1675, allocations: 0 / 419.2 MB, free: 15.29 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009175/0.1684, allocations: 483 kB / 419.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1685, allocations: 12.03 kB / 419.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/0.1685, allocations: 50.55 kB / 419.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.1686, allocations: 23.72 kB / 419.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1689, allocations: 227.2 kB / 420 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.169, allocations: 20.44 kB / 420 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.1691, allocations: 23.95 kB / 420.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.1696, allocations: 214.7 kB / 420.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.1696, allocations: 11.89 kB / 420.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.1697, allocations: 8 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1697, allocations: 8 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.17, allocations: 115.9 kB / 420.4 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1721, allocations: 1.037 MB / 421.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.1724, allocations: 158.6 kB / 421.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1725, allocations: 4.031 kB / 421.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1725, allocations: 34.5 kB / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.846e-06/0.1725, allocations: 0 / 421.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004986/0.173, allocations: 157.4 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.1731, allocations: 132.5 kB / 421.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1734, allocations: 178.9 kB / 422.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1734, allocations: 29.7 kB / 422.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1735, allocations: 167.7 kB / 422.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.1736, allocations: 59.16 kB / 422.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.1736, allocations: 8 kB / 422.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1738, allocations: 334.9 kB / 422.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1739, allocations: 39.98 kB / 422.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1741, allocations: 154.5 kB / 422.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.1743, allocations: 71.92 kB / 423 MB, free: 11.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1743, allocations: 7.938 kB / 423 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005437/0.1749, allocations: 221.5 kB / 423.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.1749, allocations: 12.06 kB / 423.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.175, allocations: 4 kB / 423.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.175, allocations: 8.516 kB / 423.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.1754, allocations: 67.84 kB / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1754, allocations: 8 kB / 423.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.1756, allocations: 23.75 kB / 423.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.1757, allocations: 12 kB / 423.3 MB, free: 10.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 initialization (31): * Single equations (assignments): 31 * Array equations: 0 * 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.0001657/0.1759, allocations: 137.7 kB / 423.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.176, allocations: 16 kB / 423.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.1762, allocations: 86.55 kB / 423.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.1762, allocations: 7.984 kB / 423.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.1763, allocations: 3.953 kB / 423.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1763, allocations: 3.984 kB / 423.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.1769, allocations: 261.5 kB / 423.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.177, allocations: 0 / 423.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.1774, allocations: 39.98 kB / 423.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.1775, allocations: 4 kB / 423.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.1775, allocations: 7.984 kB / 423.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.1775, allocations: 8 kB / 423.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.1775, allocations: 3.938 kB / 423.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.1781, allocations: 0.5064 MB / 424.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.1782, allocations: 104.8 kB / 424.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1782, allocations: 3.984 kB / 424.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.1785, allocations: 8 kB / 424.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.1786, allocations: 7.984 kB / 424.5 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1786, allocations: 7.938 kB / 424.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.1788, allocations: 133.2 kB / 424.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1788, allocations: 0 / 424.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006167/0.1794, allocations: 51.84 kB / 424.7 MB, free: 9.348 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * 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.0008982/0.1803, allocations: 1.266 MB / 426 MB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003571/0.1807, allocations: 123.8 kB / 426.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1807, allocations: 0 / 426.1 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1808, allocations: 43.92 kB / 426.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.1815, allocations: 57.14 kB / 426.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.1859, allocations: 4.074 MB / 430.3 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1863, allocations: 0.7441 MB / 431 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1865, allocations: 17.95 kB / 431 MB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.1867, allocations: 67.41 kB / 431.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1867, allocations: 0 / 431.1 MB, free: 2.766 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.2166, allocations: 3.563 MB / 434.6 MB, free: 15.28 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/0.217, allocations: 175.2 kB / 434.8 MB, free: 15.03 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/2.635, allocations: 0 / 434.8 MB, free: 15.03 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking_res.mat does not exist to compare? outputFormat=mat