Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.01151/0.01152, allocations: 108.6 kB / 15.06 MB, free: 6.027 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.001289/0.001289, allocations: 184.3 kB / 15.95 MB, free: 5.965 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.998/1.998, allocations: 194.6 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.3319/0.3319, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007581/0.0007589, allocations: 11.98 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1748, allocations: 54.87 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009641/0.1759, allocations: 236.4 kB / 416.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004187/0.1763, allocations: 97.3 kB / 416.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.1764, allocations: 0 / 416.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.1764, allocations: 3.938 kB / 416.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.1765, allocations: 0 / 416.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.1767, allocations: 11.98 kB / 416.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.1768, allocations: 7.984 kB / 416.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.1769, allocations: 0 / 416.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.177, allocations: 8 kB / 416.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.1771, allocations: 7.922 kB / 416.4 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1771, allocations: 4 kB / 416.4 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1773, allocations: 31.91 kB / 416.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1773, allocations: 4 kB / 416.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.1774, allocations: 29.7 kB / 416.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1775, allocations: 11.97 kB / 416.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1775, allocations: 0 / 416.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1775, allocations: 0 / 416.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1776, allocations: 0 / 416.5 MB, free: 2.117 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006096/0.1782, allocations: 323.4 kB / 416.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/0.1783, allocations: 12.03 kB / 416.8 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.1784, allocations: 34.5 kB / 416.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1784, allocations: 7.906 kB / 416.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1787, allocations: 159.4 kB / 417 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1787, allocations: 4 kB / 417 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.1788, allocations: 4 kB / 417 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1791, allocations: 55.36 kB / 417.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1791, allocations: 0 / 417.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1791, allocations: 0 / 417.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1791, allocations: 0 / 417.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1793, allocations: 23.92 kB / 417.1 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1799, allocations: 325 kB / 417.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.18, allocations: 26.56 kB / 417.4 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.1801, allocations: 3.984 kB / 417.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.1801, allocations: 38.5 kB / 417.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.637e-06/0.1802, allocations: 4 kB / 417.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003584/0.1805, allocations: 53.78 kB / 417.5 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.1806, allocations: 51.41 kB / 417.6 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1807, allocations: 97.86 kB / 417.7 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1808, allocations: 25.7 kB / 417.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.1809, allocations: 84.05 kB / 417.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1809, allocations: 11.83 kB / 417.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.181, allocations: 0 / 417.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1811, allocations: 326.9 kB / 418.1 MB, free: 260 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.1812, allocations: 4 kB / 418.1 MB, free: 256 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.1813, allocations: 25.64 kB / 418.1 MB, free: 224 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.1814, allocations: 8 kB / 418.1 MB, free: 216 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1814, allocations: 0 / 418.1 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002558/0.1817, allocations: 57.55 kB / 418.2 MB, free: 152 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.1818, allocations: 8 kB / 418.2 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1818, allocations: 0 / 418.2 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.1818, allocations: 4.031 kB / 418.2 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.182, allocations: 11.94 kB / 418.2 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.182, allocations: 0 / 418.2 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.1821, allocations: 0 / 418.2 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1822, allocations: 4 kB / 418.2 MB, free: 124 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001743/0.1824, allocations: 114 kB / 418.3 MB, free: 16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.1824, allocations: 3.953 kB / 418.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1827, allocations: 65.12 kB / 418.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1828, allocations: 4 kB / 418.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.1828, allocations: 0 / 418.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1828, allocations: 8.125 kB / 418.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.1832, allocations: 157.7 kB / 418.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1832, allocations: 0 / 418.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.1833, allocations: 8 kB / 418.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.1834, allocations: 0 / 418.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.1834, allocations: 3.953 kB / 418.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.1835, allocations: 3.984 kB / 418.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1835, allocations: 0 / 418.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1838, allocations: 151.3 kB / 418.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.1839, allocations: 85.09 kB / 418.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.1839, allocations: 0 / 418.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1841, allocations: 3.953 kB / 418.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.1841, allocations: 4 kB / 418.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1842, allocations: 0 / 418.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.1843, allocations: 79.22 kB / 418.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.1843, allocations: 0 / 418.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000499/0.1848, allocations: 16.09 kB / 418.9 MB, free: 15.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0008091/0.1856, allocations: 0.6918 MB / 419.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1859, allocations: 23.94 kB / 419.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1859, allocations: 0 / 419.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.186, allocations: 19.98 kB / 419.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1863, allocations: 7.953 kB / 419.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.1871, allocations: 140.4 kB / 419.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1875, allocations: 0.6809 MB / 420.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.681e-05/0.1876, allocations: 8.234 kB / 420.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.1877, allocations: 11.44 kB / 420.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1877, allocations: 0 / 420.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.2164, allocations: 1.049 MB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003654/0.2169, allocations: 192.7 kB / 421.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/2.669, allocations: 4 kB / 421.7 MB, free: 12.42 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat