Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.883e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3623, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.668, allocations: 345.5 MB / 0.6872 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/1.669, allocations: 83.59 kB / 0.6872 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.498/3.167, allocations: 300.7 MB / 0.9809 GB, free: 49.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/3.167, allocations: 0 / 0.9809 GB, free: 49.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002396/3.167, allocations: 47.84 kB / 0.9809 GB, free: 49.79 MB / 490.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.009619/3.176, allocations: 2.057 MB / 0.983 GB, free: 47.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/3.177, allocations: 8.031 kB / 0.983 GB, free: 47.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/3.178, allocations: 193.8 kB / 0.9831 GB, free: 47.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/3.183, allocations: 1.277 MB / 0.9844 GB, free: 46.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/3.183, allocations: 143.2 kB / 0.9845 GB, free: 46.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/3.183, allocations: 64 kB / 0.9846 GB, free: 45.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004443/3.188, allocations: 1.742 MB / 0.9863 GB, free: 44.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004982/3.193, allocations: 1.763 MB / 0.988 GB, free: 42.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/3.193, allocations: 4 kB / 0.988 GB, free: 42.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/3.193, allocations: 11.89 kB / 0.988 GB, free: 42.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002542/3.194, allocations: 110.2 kB / 0.9881 GB, free: 42.25 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.02037/3.214, allocations: 6.758 MB / 0.9947 GB, free: 35.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/3.217, allocations: 1.274 MB / 0.996 GB, free: 33.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/3.219, allocations: 0.7657 MB / 0.9967 GB, free: 33.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009832/3.229, allocations: 4.424 MB / 1.001 GB, free: 28.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/3.229, allocations: 47.88 kB / 1.001 GB, free: 28.34 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001562/3.23, allocations: 174.8 kB / 1.001 GB, free: 28.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 6.131e-06/3.23, allocations: 0 / 1.001 GB, free: 28.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.02624/3.257, allocations: 4.995 MB / 1.006 GB, free: 23.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.159e-05/3.257, allocations: 230.9 kB / 1.006 GB, free: 22.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/3.258, allocations: 0.8975 MB / 1.007 GB, free: 21.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004158/3.259, allocations: 29.7 kB / 1.007 GB, free: 21.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/3.259, allocations: 0.6579 MB / 1.008 GB, free: 21.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005279/3.26, allocations: 433.4 kB / 1.008 GB, free: 20.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/3.26, allocations: 0 / 1.008 GB, free: 20.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/3.26, allocations: 378.8 kB / 1.009 GB, free: 20.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/3.262, allocations: 0.7262 MB / 1.009 GB, free: 19.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/3.264, allocations: 1.035 MB / 1.01 GB, free: 18.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/3.284, allocations: 2.542 MB / 1.013 GB, free: 16.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.844e-05/3.284, allocations: 8 kB / 1.013 GB, free: 16.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.02429/3.308, allocations: 3.89 MB / 1.017 GB, free: 12.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006558/3.309, allocations: 2.956 MB / 1.02 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.232e-05/3.309, allocations: 19.98 kB / 1.02 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/3.319, allocations: 1.142 MB / 1.021 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/3.322, allocations: 335.5 kB / 1.021 GB, free: 7.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007349/3.33, allocations: 2.105 MB / 1.023 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/3.333, allocations: 67.78 kB / 1.023 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/3.333, allocations: 75.95 kB / 1.023 GB, free: 5.164 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/3.333, allocations: 4 kB / 1.023 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02073/3.354, allocations: 3.259 MB / 1.026 GB, free: 1.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/3.354, allocations: 15.98 kB / 1.026 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009111/3.363, allocations: 0.8904 MB / 1.027 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/3.366, allocations: 351.5 kB / 1.028 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3901/3.756, allocations: 1.301 MB / 1.029 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/3.758, allocations: 69.23 kB / 1.029 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/3.759, allocations: 72.3 kB / 1.029 GB, free: 76.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.0006593/3.759, allocations: 147.5 kB / 1.029 GB, free: 76.71 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01153/3.771, allocations: 2.198 MB / 1.031 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008833/3.772, allocations: 148.4 kB / 1.031 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/3.784, allocations: 2.632 MB / 1.034 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/3.784, allocations: 17.41 kB / 1.034 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/3.784, allocations: 0 / 1.034 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/3.784, allocations: 9.094 kB / 1.034 GB, free: 76.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/3.799, allocations: 4.071 MB / 1.038 GB, free: 76.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/3.799, allocations: 0.5156 kB / 1.038 GB, free: 76.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/3.801, allocations: 241 kB / 1.038 GB, free: 76.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005229/3.807, allocations: 0.9203 MB / 1.039 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004675/3.807, allocations: 27.72 kB / 1.039 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00653/3.814, allocations: 2.088 MB / 1.041 GB, free: 75.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/3.814, allocations: 2.719 kB / 1.041 GB, free: 75.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/3.825, allocations: 3.451 MB / 1.045 GB, free: 75.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/3.827, allocations: 427.5 kB / 1.045 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004589/3.828, allocations: 3.875 kB / 1.045 GB, free: 75.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/3.83, allocations: 80.19 kB / 1.045 GB, free: 75.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/3.83, allocations: 120 kB / 1.045 GB, free: 75.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/3.831, allocations: 60.52 kB / 1.045 GB, free: 75.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001331/3.832, allocations: 0.6656 MB / 1.046 GB, free: 75.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.832, allocations: 0 / 1.046 GB, free: 75.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006374/3.838, allocations: 1.332 MB / 1.047 GB, free: 75.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,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 () * 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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01648/3.855, allocations: 5.093 MB / 1.052 GB, free: 74.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/3.865, allocations: 2.872 MB / 1.055 GB, free: 74.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/3.865, allocations: 1.594 kB / 1.055 GB, free: 74.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003569/3.869, allocations: 0.9538 MB / 1.056 GB, free: 74.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006084/3.875, allocations: 0.6126 MB / 1.057 GB, free: 74.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/3.888, allocations: 3.456 MB / 1.06 GB, free: 73.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/3.889, allocations: 1.408 MB / 1.061 GB, free: 72.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/3.891, allocations: 0.6398 MB / 1.062 GB, free: 72.86 MB / 490.7 MB Notification: Performance of SimCode: time 3.096e-06/3.891, allocations: 0 / 1.062 GB, free: 72.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.757/7.648, allocations: 47.23 MB / 1.108 GB, free: 69.88 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat