Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01111/0.01112, allocations: 108.7 kB / 15.06 MB, free: 5.551 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.001264/0.001265, allocations: 179.8 kB / 15.95 MB, free: 5.516 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.991/1.991, 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.3117/0.3117, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007258/0.000726, allocations: 12 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1334, allocations: 54.87 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.04822/0.1817, allocations: 28.12 MB / 444.1 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.339/0.5207, allocations: 16.98 MB / 461.1 MB, free: 31.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.5232, allocations: 63.25 kB / 461.2 MB, free: 31.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.5264, allocations: 0.6217 MB / 461.8 MB, free: 31.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008208/0.5347, allocations: 2.094 MB / 463.9 MB, free: 31.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.5501, allocations: 3.969 MB / 467.9 MB, free: 31.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005486/0.5556, allocations: 2.542 MB / 470.4 MB, free: 31.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.5579, allocations: 1.085 MB / 471.5 MB, free: 31.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003625/0.5615, allocations: 1.306 MB / 472.8 MB, free: 31.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.5646, allocations: 1.209 MB / 474 MB, free: 31.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007498/0.5654, allocations: 96 kB / 474.1 MB, free: 31.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008059/0.5735, allocations: 2.495 MB / 476.6 MB, free: 31.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.5751, allocations: 0.5307 MB / 477.1 MB, free: 31.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.5764, allocations: 350.1 kB / 477.5 MB, free: 30.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007685/0.5841, allocations: 2.96 MB / 480.4 MB, free: 30.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5842, allocations: 0 / 480.4 MB, free: 30.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5842, allocations: 0 / 480.4 MB, free: 30.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.077e-05/0.5843, allocations: 0 / 480.4 MB, free: 30.7 MB / 378.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.008792/0.5931, allocations: 2.144 MB / 482.6 MB, free: 29.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.5932, allocations: 11.91 kB / 482.6 MB, free: 29.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008994/0.5941, allocations: 183.5 kB / 482.8 MB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.595, allocations: 203.6 kB / 483 MB, free: 29.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.5994, allocations: 1.073 MB / 484 MB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.5998, allocations: 185.4 kB / 484.2 MB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007655/0.6006, allocations: 117.5 kB / 484.3 MB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008897/0.6095, allocations: 1.923 MB / 486.3 MB, free: 28.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/0.6096, allocations: 8.25 kB / 486.3 MB, free: 28.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/0.61, allocations: 48.38 kB / 486.3 MB, free: 28.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000409/0.6105, allocations: 116.1 kB / 486.4 MB, free: 28.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00973/0.6202, allocations: 1.952 MB / 488.4 MB, free: 28.69 MB / 378.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.0273/0.6476, allocations: 7.392 MB / 495.8 MB, free: 24.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003807/0.6514, allocations: 1.399 MB / 497.2 MB, free: 23.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.6621, allocations: 4.59 MB / 0.49 GB, free: 20.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.201e-05/0.6622, allocations: 45.94 kB / 0.49 GB, free: 20.57 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001516/0.6638, allocations: 223.2 kB / 0.4903 GB, free: 20.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=118): time 6.001e-06/0.6638, allocations: 0 / 0.4903 GB, free: 20.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.03684/0.7006, allocations: 6.653 MB / 0.4968 GB, free: 17.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.7008, allocations: 228.9 kB / 0.497 GB, free: 17.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.7038, allocations: 1.358 MB / 0.4983 GB, free: 16.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005171/0.7043, allocations: 52.58 kB / 0.4984 GB, free: 16.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006621/0.705, allocations: 0.6658 MB / 0.499 GB, free: 15.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007844/0.7059, allocations: 458.2 kB / 0.4994 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.7061, allocations: 34.88 kB / 0.4995 GB, free: 15.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7062, allocations: 366.4 kB / 0.4998 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.7086, allocations: 0.8134 MB / 0.5006 GB, free: 14.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/0.7113, allocations: 1.154 MB / 0.5017 GB, free: 13.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.7141, allocations: 0.9351 MB / 0.5027 GB, free: 13.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.7142, allocations: 0 / 0.5027 GB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007581/0.7218, allocations: 2.576 MB / 0.5052 GB, free: 11.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006911/0.7225, allocations: 3.286 MB / 0.5084 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/0.7226, allocations: 13.3 kB / 0.5084 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0165/0.7391, allocations: 1.681 MB / 0.51 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/0.7419, allocations: 339.1 kB / 0.5104 GB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.7466, allocations: 1.78 MB / 0.5121 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.7495, allocations: 104.3 kB / 0.5122 GB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.7499, allocations: 78.55 kB / 0.5123 GB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.75, allocations: 2.781 kB / 0.5123 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006181/0.7561, allocations: 2.156 MB / 0.5144 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.535e-05/0.7562, allocations: 8 kB / 0.5144 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009522/0.7658, allocations: 0.9723 MB / 0.5153 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/0.7687, allocations: 351.5 kB / 0.5157 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.7715, allocations: 1.332 MB / 0.517 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.7742, allocations: 110.8 kB / 0.5171 GB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.7745, allocations: 75.95 kB / 0.5171 GB, free: 1.988 MB / 378.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.001337/0.7759, allocations: 490.1 kB / 0.5176 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005125/0.7764, allocations: 169.9 kB / 0.5178 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007852/0.7842, allocations: 2.565 MB / 0.5203 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/0.7843, allocations: 21.95 kB / 0.5203 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.7844, allocations: 0 / 0.5203 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-05/0.7844, allocations: 7.969 kB / 0.5203 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.7977, allocations: 4.206 MB / 0.5244 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.7978, allocations: 0 / 0.5244 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/0.8001, allocations: 231.7 kB / 0.5246 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009488/0.8096, allocations: 1.302 MB / 0.5259 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004526/0.8101, allocations: 47.92 kB / 0.526 GB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.8147, allocations: 1.796 MB / 0.5277 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8148, allocations: 4 kB / 0.5277 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01051/0.8253, allocations: 3.466 MB / 0.5311 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/0.8271, allocations: 478.6 kB / 0.5316 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005823/0.8278, allocations: 32 kB / 0.5316 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/0.8302, allocations: 103.8 kB / 0.5317 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005084/0.8308, allocations: 113.1 kB / 0.5318 GB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/0.831, allocations: 64.45 kB / 0.5319 GB, free: 2.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00221/0.8333, allocations: 0.907 MB / 0.5327 GB, free: 1.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8333, allocations: 4 kB / 0.5327 GB, free: 1.895 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005883/0.8392, allocations: 1.315 MB / 0.534 GB, free: 0.582 MB / 394.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.01428/0.8535, allocations: 4.88 MB / 0.5388 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01266/0.8662, allocations: 3.222 MB / 0.5419 GB, free: 8.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.8663, allocations: 0 / 0.5419 GB, free: 8.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004543/0.8709, allocations: 1.056 MB / 0.543 GB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006222/0.8771, allocations: 0.6876 MB / 0.5436 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/0.8958, allocations: 10.97 MB / 0.5544 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.8973, allocations: 1.41 MB / 0.5557 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004115/0.9015, allocations: 0.6431 MB / 0.5564 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/0.9032, allocations: 0.632 MB / 0.557 GB, free: 8.836 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.9032, allocations: 0 / 0.557 GB, free: 8.836 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2434/1.147, allocations: 61.86 MB / 0.6174 GB, free: 11.05 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.147, allocations: 220.8 kB / 0.6176 GB, free: 10.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.541/6.688, allocations: 3.938 kB / 0.6176 GB, free: 10.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat