Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.01632/0.01632, allocations: 109.1 kB / 15.05 MB, free: 6.066 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.00127/0.00127, allocations: 166.3 kB / 15.93 MB, free: 6 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.778/1.778, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.3104/0.3104, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004724, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09521, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0007869/0.09606, allocations: 260.5 kB / 372.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.09701, allocations: 372.8 kB / 372.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.09706, allocations: 0 / 372.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.09708, allocations: 0 / 372.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.594e-05/0.09712, allocations: 3.938 kB / 372.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.09763, allocations: 103.7 kB / 373 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.0977, allocations: 15.98 kB / 373 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.09777, allocations: 7.984 kB / 373 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.09781, allocations: 11.94 kB / 373.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.09789, allocations: 23.91 kB / 373.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.09791, allocations: 4 kB / 373.1 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.09825, allocations: 131.8 kB / 373.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.09828, allocations: 11.98 kB / 373.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.09833, allocations: 33.64 kB / 373.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.09853, allocations: 71.89 kB / 373.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.09855, allocations: 8 kB / 373.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.09856, allocations: 0 / 373.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09858, allocations: 0 / 373.3 MB, free: 11.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005091/0.09909, allocations: 347.6 kB / 373.7 MB, free: 11.42 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.09915, allocations: 8.031 kB / 373.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.0992, allocations: 34.56 kB / 373.7 MB, free: 11.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.09924, allocations: 7.906 kB / 373.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.09944, allocations: 171 kB / 373.9 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.09947, allocations: 12 kB / 373.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.09954, allocations: 12 kB / 373.9 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.09973, allocations: 61.61 kB / 374 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.09976, allocations: 0 / 374 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.09978, allocations: 4 kB / 374 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.0998, allocations: 0 / 374 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.09995, allocations: 43.95 kB / 374 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.1002, allocations: 181.5 kB / 374.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1004, allocations: 82.55 kB / 374.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/0.1008, allocations: 113.1 kB / 374.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.1009, allocations: 34.5 kB / 374.4 MB, free: 10.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.1009, allocations: 3.938 kB / 374.4 MB, free: 10.52 MB / 282.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.284/0.3849, allocations: 5.825 MB / 380.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.385, allocations: 55.41 kB / 380.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.3851, allocations: 97.81 kB / 380.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.3851, allocations: 25.7 kB / 380.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.3852, allocations: 80.52 kB / 380.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3853, allocations: 82.97 kB / 380.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3854, allocations: 8 kB / 380.6 MB, free: 4.281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3855, allocations: 314.8 kB / 380.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/0.3862, allocations: 139.9 kB / 381 MB, free: 3.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/0.387, allocations: 138.1 kB / 381.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.3884, allocations: 175.7 kB / 381.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3885, allocations: 4 kB / 381.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002333/0.3908, allocations: 404.6 kB / 381.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.3909, allocations: 4 kB / 381.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3909, allocations: 4 kB / 381.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.391, allocations: 3.938 kB / 381.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.3917, allocations: 91.91 kB / 381.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.3918, allocations: 0 / 381.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.3922, allocations: 47.86 kB / 381.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.3923, allocations: 19.98 kB / 381.9 MB, free: 2.953 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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.0001769/0.3925, allocations: 118.8 kB / 382 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3925, allocations: 11.89 kB / 382 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.3953, allocations: 477.8 kB / 382.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3953, allocations: 4 kB / 382.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.3953, allocations: 0 / 382.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3954, allocations: 7.922 kB / 382.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.3996, allocations: 0.8722 MB / 383.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3996, allocations: 0 / 383.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/0.4002, allocations: 87.98 kB / 383.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.4002, allocations: 0 / 383.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.4003, allocations: 15.98 kB / 383.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4003, allocations: 4 kB / 383.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4003, allocations: 3.938 kB / 383.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.4026, allocations: 491.2 kB / 384 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.4027, allocations: 89 kB / 384.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.4028, allocations: 4 kB / 384.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.4031, allocations: 43.95 kB / 384.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.4032, allocations: 11.98 kB / 384.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.861e-05/0.4033, allocations: 19.98 kB / 384.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.4033, allocations: 75.28 kB / 384.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4033, allocations: 0 / 384.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002477/0.4058, allocations: 0.6367 MB / 384.8 MB, free: 15.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.007721/0.4136, allocations: 1.356 MB / 386.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.4152, allocations: 307.6 kB / 386.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4152, allocations: 0 / 386.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.4159, allocations: 152 kB / 386.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.4162, allocations: 11.95 kB / 386.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.4193, allocations: 498.6 kB / 387.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.4196, allocations: 0.7016 MB / 387.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005595/0.4202, allocations: 81.08 kB / 387.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.4205, allocations: 55.39 kB / 388 MB, free: 12.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4205, allocations: 0 / 388 MB, free: 12.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7442/1.165, allocations: 54.74 MB / 442.7 MB, free: 43.32 MB / 330.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.165, allocations: 194.1 kB / 442.9 MB, free: 43.08 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/4.299, allocations: 3.5 kB / 442.9 MB, free: 43.08 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat