Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01819/0.0182, allocations: 103.5 kB / 15.05 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.1.mo): time 0.001506/0.001506, allocations: 164.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.61/1.61, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2715/0.2715, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09274, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0007466/0.09354, allocations: 232.5 kB / 372.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.09389, allocations: 89.38 kB / 372.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.09392, allocations: 0 / 372.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.09395, allocations: 4 kB / 372.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.462e-05/0.09399, allocations: 3.938 kB / 372.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.09418, allocations: 15.92 kB / 372.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.09424, allocations: 7.984 kB / 372.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.0943, allocations: 0 / 372.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.09434, allocations: 7.938 kB / 372.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.09441, allocations: 7.984 kB / 372.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.09444, allocations: 4 kB / 372.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.09454, allocations: 23.97 kB / 372.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.09457, allocations: 7.984 kB / 372.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.09461, allocations: 29.7 kB / 372.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.733e-05/0.0947, allocations: 15.92 kB / 372.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.09471, allocations: 0 / 372.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.09472, allocations: 0 / 372.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.09474, allocations: 0 / 372.7 MB, free: 12.39 MB / 282.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.0004245/0.09517, allocations: 327.4 kB / 373.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.09523, allocations: 8.031 kB / 373.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.09529, allocations: 38.55 kB / 373.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.09533, allocations: 0 / 373.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.09548, allocations: 167.3 kB / 373.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.0955, allocations: 4 kB / 373.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.09552, allocations: 0 / 373.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.09568, allocations: 55.41 kB / 373.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.09571, allocations: 3.938 kB / 373.3 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.09573, allocations: 3.938 kB / 373.3 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.09574, allocations: 0 / 373.3 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.09582, allocations: 12 kB / 373.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.09623, allocations: 329 kB / 373.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.09633, allocations: 26.52 kB / 373.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.09636, allocations: 0 / 373.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.0964, allocations: 30.56 kB / 373.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.09641, allocations: 0 / 373.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002773/0.09669, allocations: 61.69 kB / 373.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.09676, allocations: 59.39 kB / 373.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.09686, allocations: 89.86 kB / 373.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.0969, allocations: 29.7 kB / 374 MB, free: 10.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.09695, allocations: 84.14 kB / 374 MB, free: 10.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.09698, allocations: 7.812 kB / 374 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.097, allocations: 3.938 kB / 374 MB, free: 10.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.09715, allocations: 322.8 kB / 374.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.0972, allocations: 8.125 kB / 374.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.625e-05/0.09725, allocations: 21.72 kB / 374.4 MB, free: 10.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.09731, allocations: 4 kB / 374.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09732, allocations: 3.938 kB / 374.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000155/0.09748, allocations: 57.62 kB / 374.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.09752, allocations: 7.984 kB / 374.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.09754, allocations: 4 kB / 374.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.09756, allocations: 0 / 374.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.09769, allocations: 12.03 kB / 374.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.09771, allocations: 0 / 374.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.09775, allocations: 128 / 374.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.09777, allocations: 8 kB / 374.5 MB, free: 10.39 MB / 282.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.000103/0.09788, allocations: 118.8 kB / 374.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.09792, allocations: 3.906 kB / 374.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.09813, allocations: 69.11 kB / 374.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.09815, allocations: 240 / 374.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.09817, allocations: 0 / 374.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.09818, allocations: 4 kB / 374.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.09842, allocations: 173.5 kB / 374.8 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.09844, allocations: 0 / 374.8 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.09852, allocations: 4 kB / 374.8 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.09853, allocations: 4 kB / 374.9 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.09855, allocations: 0 / 374.9 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.09856, allocations: 0 / 374.9 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.09857, allocations: 0 / 374.9 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.09877, allocations: 151.5 kB / 375 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.09884, allocations: 88.97 kB / 375.1 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.09887, allocations: 4 kB / 375.1 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.09895, allocations: 3.984 kB / 375.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.099, allocations: 0 / 375.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.09902, allocations: 4 kB / 375.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.09907, allocations: 75.28 kB / 375.2 MB, free: 9.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.09908, allocations: 0 / 375.2 MB, free: 9.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.09941, allocations: 8 kB / 375.2 MB, free: 9.594 MB / 282.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.0005416/0.09996, allocations: 0.6853 MB / 375.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1001, allocations: 31.98 kB / 375.9 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.1002, allocations: 4 kB / 375.9 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.1002, allocations: 8 kB / 375.9 MB, free: 8.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.1004, allocations: 4.859 kB / 375.9 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.101, allocations: 146.8 kB / 376.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1013, allocations: 0.6847 MB / 376.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1014, allocations: 4.25 kB / 376.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1014, allocations: 11.38 kB / 376.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1014, allocations: 4 kB / 376.8 MB, free: 7.918 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.126, allocations: 1.044 MB / 377.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003657/0.1264, allocations: 199.4 kB / 378 MB, free: 6.715 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/2.567, allocations: 0 / 378 MB, free: 6.715 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat