Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",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.01106/0.01106, allocations: 106 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.1.mo): time 0.001968/0.001968, allocations: 166.5 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.644/1.644, allocations: 170.9 MB / 187.5 MB, free: 0.8594 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.254/0.254, allocations: 38.1 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 19.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08829, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.0438/0.1321, allocations: 28.1 MB / 400.4 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03485/0.167, allocations: 17.01 MB / 417.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1692, allocations: 63.44 kB / 417.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.1719, allocations: 0.6179 MB / 418.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008546/0.1805, allocations: 2.111 MB / 420.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01601/0.1965, allocations: 3.979 MB / 424.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.2027, allocations: 2.537 MB / 426.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.2054, allocations: 1.092 MB / 427.8 MB, free: 5.199 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.2094, allocations: 1.309 MB / 429.1 MB, free: 3.887 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003349/0.2128, allocations: 1.207 MB / 430.3 MB, free: 2.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007984/0.2137, allocations: 99.94 kB / 430.4 MB, free: 2.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00801/0.2217, allocations: 2.497 MB / 432.9 MB, free: 80 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2822/0.504, allocations: 0.527 MB / 433.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.5049, allocations: 352.7 kB / 433.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008255/0.5132, allocations: 2.952 MB / 436.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5133, allocations: 0 / 436.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.5133, allocations: 2.016 kB / 436.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.51e-05/0.5134, allocations: 0 / 436.7 MB, free: 14.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009926/0.5233, allocations: 2.153 MB / 438.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5234, allocations: 9.719 kB / 438.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009802/0.5244, allocations: 181.6 kB / 439.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/0.5254, allocations: 201.4 kB / 439.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.529, allocations: 1.072 MB / 440.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.5293, allocations: 191.9 kB / 440.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000608/0.5299, allocations: 112.2 kB / 440.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006083/0.536, allocations: 1.92 MB / 442.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.308e-05/0.5361, allocations: 2.531 kB / 442.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003106/0.5365, allocations: 53.17 kB / 442.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003177/0.5368, allocations: 116.1 kB / 442.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006851/0.5437, allocations: 1.957 MB / 444.7 MB, free: 12.73 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.5659, allocations: 7.388 MB / 452.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.5697, allocations: 1.393 MB / 453.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.58, allocations: 4.584 MB / 458.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.208e-05/0.5801, allocations: 49.09 kB / 458.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00161/0.5817, allocations: 227.4 kB / 458.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=118): time 4.96e-06/0.5817, allocations: 1.719 kB / 458.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.03685/0.6186, allocations: 6.659 MB / 465 MB, free: 6.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.6187, allocations: 220.7 kB / 465.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/0.6216, allocations: 1.364 MB / 466.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005509/0.6222, allocations: 53.2 kB / 466.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.6228, allocations: 0.6576 MB / 467.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/0.6235, allocations: 468.5 kB / 467.7 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.6237, allocations: 32.31 kB / 467.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6239, allocations: 368.8 kB / 468.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.6263, allocations: 0.8133 MB / 468.9 MB, free: 4.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.629, allocations: 1.154 MB / 470.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.6316, allocations: 0.9391 MB / 471 MB, free: 4.055 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.6317, allocations: 7.781 kB / 471 MB, free: 4.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007239/0.6389, allocations: 2.575 MB / 473.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005892/0.6395, allocations: 3.279 MB / 476.9 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/0.6396, allocations: 10.66 kB / 476.9 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01658/0.6562, allocations: 1.692 MB / 478.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.6591, allocations: 337.5 kB / 478.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/0.664, allocations: 1.784 MB / 480.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.667, allocations: 101.2 kB / 480.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/0.6675, allocations: 80.08 kB / 480.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6676, allocations: 4 kB / 480.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006926/0.6745, allocations: 2.16 MB / 483 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.5e-05/0.6746, allocations: 12 kB / 483.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009858/0.6844, allocations: 0.9597 MB / 484 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/0.6876, allocations: 359.3 kB / 484.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.6909, allocations: 1.329 MB / 485.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.6937, allocations: 94.55 kB / 485.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.6941, allocations: 78.89 kB / 485.9 MB, free: 10.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 24} Notification: Performance of prepare postOptimizeDAE: time 0.001468/0.6956, allocations: 495.9 kB / 486.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006009/0.6962, allocations: 165.9 kB / 486.5 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008346/0.7045, allocations: 2.57 MB / 489.1 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/0.7046, allocations: 20 kB / 489.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.7046, allocations: 0 / 489.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.7047, allocations: 7.969 kB / 489.1 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.7168, allocations: 4.216 MB / 493.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.7168, allocations: 0 / 493.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/0.719, allocations: 224.2 kB / 493.5 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009156/0.7282, allocations: 1.304 MB / 494.8 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/0.7287, allocations: 45.72 kB / 494.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.733, allocations: 1.791 MB / 496.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.733, allocations: 10.56 kB / 496.7 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.7431, allocations: 3.471 MB / 0.4884 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/0.745, allocations: 470.6 kB / 0.4889 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/0.7454, allocations: 32 kB / 0.4889 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/0.7477, allocations: 99.86 kB / 0.489 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/0.7481, allocations: 128.2 kB / 0.4891 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/0.7484, allocations: 56.03 kB / 0.4892 GB, free: 14.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00209/0.7505, allocations: 0.9109 MB / 0.4901 GB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7505, allocations: 0 / 0.4901 GB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005844/0.7564, allocations: 1.312 MB / 0.4914 GB, free: 12.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.01404/0.7704, allocations: 4.879 MB / 0.4961 GB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/0.7835, allocations: 3.218 MB / 0.4993 GB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/0.7836, allocations: 8.188 kB / 0.4993 GB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005848/0.7894, allocations: 1.055 MB / 0.5003 GB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00798/0.7975, allocations: 0.6949 MB / 0.501 GB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/0.8221, allocations: 10.95 MB / 0.5117 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.8241, allocations: 1.414 MB / 0.5131 GB, free: 6.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005464/0.8296, allocations: 0.645 MB / 0.5137 GB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/0.832, allocations: 0.632 MB / 0.5143 GB, free: 4.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.832, allocations: 0 / 0.5143 GB, free: 4.809 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2093/1.041, allocations: 61.87 MB / 0.5747 GB, free: 7.195 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003365/1.042, allocations: 223.4 kB / 0.5749 GB, free: 6.957 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.49/6.532, allocations: 4 kB / 0.575 GB, free: 6.953 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat