Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestSpeed",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.01544/0.01545, 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.00182/0.001821, allocations: 181.4 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.167/2.167, allocations: 194.5 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.3121/0.3121, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007174/0.0007175, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1565, allocations: 54.88 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005654/0.1622, allocations: 2.072 MB / 418.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1648, allocations: 0.6676 MB / 418.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.1651, allocations: 4 kB / 418.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1653, allocations: 27.77 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.1658, allocations: 99.67 kB / 418.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1663, allocations: 67.86 kB / 418.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007719/0.1671, allocations: 231.5 kB / 419.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.1675, allocations: 61.58 kB / 419.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.1679, allocations: 107.6 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.1683, allocations: 119.5 kB / 419.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.744e-05/0.1684, allocations: 12 kB / 419.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.1685, allocations: 12 kB / 419.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.1686, allocations: 43.83 kB / 419.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1687, allocations: 77.52 kB / 419.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.1692, allocations: 203.7 kB / 419.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1692, allocations: 8 kB / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1693, allocations: 0 / 419.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1693, allocations: 0 / 419.8 MB, free: 14.73 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001638/0.1709, allocations: 0.5495 MB / 420.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.171, allocations: 11.97 kB / 420.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.1712, allocations: 66.47 kB / 420.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1713, allocations: 31.62 kB / 420.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.1719, allocations: 250.3 kB / 420.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.1719, allocations: 24.52 kB / 420.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.172, allocations: 27.98 kB / 420.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1731, allocations: 285.9 kB / 421 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.1732, allocations: 3.906 kB / 421 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.1733, allocations: 12 kB / 421.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1733, allocations: 8 kB / 421.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.1744, allocations: 199.7 kB / 421.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.1779, allocations: 1.325 MB / 422.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.179, allocations: 246.5 kB / 422.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.1791, allocations: 12.12 kB / 422.8 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.1792, allocations: 34.56 kB / 422.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 4.729e-06/0.1792, allocations: 0 / 422.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.006314/0.1856, allocations: 1.631 MB / 424.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.1858, allocations: 136.5 kB / 424.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.1863, allocations: 224.9 kB / 424.9 MB, free: 9.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.1864, allocations: 29.7 kB / 424.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1866, allocations: 180.2 kB / 425.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.1869, allocations: 114.3 kB / 425.2 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.1869, allocations: 11.94 kB / 425.2 MB, free: 8.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.1872, allocations: 338.8 kB / 425.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008453/0.188, allocations: 116.8 kB / 425.6 MB, free: 8.367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008755/0.189, allocations: 237.5 kB / 425.9 MB, free: 8.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.1897, allocations: 143.9 kB / 426 MB, free: 7.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1898, allocations: 0 / 426 MB, free: 7.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001906/0.1917, allocations: 425.4 kB / 426.4 MB, free: 7.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.1917, allocations: 8 kB / 426.4 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.1918, allocations: 4 kB / 426.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.1918, allocations: 12.69 kB / 426.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.1929, allocations: 108.2 kB / 426.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.418e-05/0.193, allocations: 19.92 kB / 426.6 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/0.1937, allocations: 23.98 kB / 426.6 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.1938, allocations: 20 kB / 426.6 MB, free: 7.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0003446/0.1941, allocations: 150.8 kB / 426.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.1944, allocations: 27.67 kB / 426.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.1946, allocations: 37.7 kB / 426.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.1946, allocations: 11.94 kB / 426.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.1946, allocations: 0 / 426.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.1947, allocations: 3.984 kB / 426.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.1986, allocations: 1.009 MB / 427.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.1987, allocations: 0 / 427.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.1999, allocations: 87.95 kB / 427.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.1999, allocations: 4 kB / 427.9 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.2, allocations: 11.98 kB / 427.9 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.2, allocations: 3.938 kB / 427.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.2001, allocations: 4 kB / 427.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.2026, allocations: 0.8194 MB / 428.8 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.2029, allocations: 104.7 kB / 428.9 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.051e-05/0.203, allocations: 8.062 kB / 428.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.2037, allocations: 27.98 kB / 428.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.2039, allocations: 31.84 kB / 428.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.204, allocations: 8 kB / 428.9 MB, free: 4.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003306/0.2043, allocations: 156.5 kB / 429.1 MB, free: 4.676 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2043, allocations: 0 / 429.1 MB, free: 4.676 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001195/0.2055, allocations: 68 kB / 429.2 MB, free: 4.609 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * 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.003013/0.2086, allocations: 1.709 MB / 430.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.2102, allocations: 308.4 kB / 431.2 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.2102, allocations: 0 / 431.2 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007227/0.2109, allocations: 144.1 kB / 431.3 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000959/0.2119, allocations: 32.42 kB / 431.3 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/0.2288, allocations: 5.025 MB / 436.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.2297, allocations: 0.7761 MB / 437.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003812/0.2301, allocations: 34.95 kB / 437.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.2304, allocations: 95.39 kB / 437.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of SimCode: time 3.928e-06/0.2304, allocations: 0 / 437.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.2684, allocations: 4.738 MB / 442 MB, free: 7.602 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/0.2688, allocations: 172.2 kB / 442.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/2.91, allocations: 0 / 442.2 MB, free: 7.355 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat