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.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.01143/0.01143, allocations: 107 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.2.mo): time 0.001242/0.001242, allocations: 179.4 kB / 15.95 MB, free: 5.52 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.972/1.972, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.2642/0.2642, allocations: 40.04 MB / 296.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 12 kB / 361.2 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1118, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03992/0.1518, allocations: 23.65 MB / 439.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3694/0.5213, allocations: 11.36 MB / 451 MB, free: 32.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005234/0.5218, allocations: 15 kB / 451.1 MB, free: 32.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.5227, allocations: 212 kB / 451.3 MB, free: 32.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.5336, allocations: 2.815 MB / 454.1 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007948/0.5416, allocations: 1.902 MB / 456 MB, free: 32.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.5429, allocations: 0.5333 MB / 456.5 MB, free: 32.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004897/0.5434, allocations: 209.8 kB / 456.7 MB, free: 32.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5446, allocations: 403.4 kB / 457.1 MB, free: 32.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.5449, allocations: 199 kB / 457.3 MB, free: 32.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.545, allocations: 17.84 kB / 457.3 MB, free: 32.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.5628, allocations: 7.016 MB / 464.3 MB, free: 32.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.563, allocations: 72.19 kB / 464.4 MB, free: 32.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.5633, allocations: 106 kB / 464.5 MB, free: 32.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007441/0.5707, allocations: 2.947 MB / 467.5 MB, free: 31.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5708, allocations: 0 / 467.5 MB, free: 31.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5708, allocations: 0 / 467.5 MB, free: 31.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.5708, allocations: 0 / 467.5 MB, free: 31.92 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004137/0.575, allocations: 1.172 MB / 468.6 MB, free: 31.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.575, allocations: 13.16 kB / 468.7 MB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.5751, allocations: 66.81 kB / 468.7 MB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.5776, allocations: 215.5 kB / 468.9 MB, free: 31.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.5784, allocations: 376.8 kB / 469.3 MB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.5785, allocations: 24.41 kB / 469.3 MB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.5786, allocations: 32.84 kB / 469.4 MB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.581, allocations: 0.6044 MB / 470 MB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.5811, allocations: 3 kB / 470 MB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/0.5812, allocations: 12.75 kB / 470 MB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.5812, allocations: 9.625 kB / 470 MB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.5839, allocations: 0.5889 MB / 470.6 MB, free: 30.79 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.003621/0.5876, allocations: 2.566 MB / 473.1 MB, free: 28.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.59, allocations: 0.4913 MB / 473.6 MB, free: 28.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2453/0.8354, allocations: 52.03 MB / 0.5133 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.8355, allocations: 33.81 kB / 0.5134 GB, free: 25.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.715e-06/0.8355, allocations: 0 / 0.5134 GB, free: 25.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.004286/0.8398, allocations: 0.8616 MB / 0.5142 GB, free: 24.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.8399, allocations: 110.8 kB / 0.5143 GB, free: 24.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.8404, allocations: 282.1 kB / 0.5146 GB, free: 24.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.8404, allocations: 34.14 kB / 0.5146 GB, free: 24.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.8407, allocations: 218.8 kB / 0.5148 GB, free: 23.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.431e-05/0.8408, allocations: 87.81 kB / 0.5149 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.8408, allocations: 9.844 kB / 0.5149 GB, free: 23.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.841, allocations: 335.1 kB / 0.5152 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.8417, allocations: 169.8 kB / 0.5154 GB, free: 23.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.8425, allocations: 293.8 kB / 0.5157 GB, free: 23.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.8433, allocations: 189.4 kB / 0.5159 GB, free: 23.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.8433, allocations: 3.953 kB / 0.5159 GB, free: 23.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001864/0.8452, allocations: 498.6 kB / 0.5163 GB, free: 22.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.8453, allocations: 8 kB / 0.5163 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8453, allocations: 7.688 kB / 0.5164 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.8453, allocations: 7.984 kB / 0.5164 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.846, allocations: 103.4 kB / 0.5165 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.8461, allocations: 14.62 kB / 0.5165 GB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.8467, allocations: 66.47 kB / 0.5165 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.8467, allocations: 23.62 kB / 0.5166 GB, free: 22.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002976/0.8471, allocations: 165.4 kB / 0.5167 GB, free: 22.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.8472, allocations: 35.58 kB / 0.5168 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003556/0.8507, allocations: 1.959 MB / 0.5187 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/0.8508, allocations: 33.69 kB / 0.5187 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.8508, allocations: 0 / 0.5187 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.8509, allocations: 3.984 kB / 0.5187 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.8522, allocations: 0.9873 MB / 0.5197 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.8523, allocations: 0 / 0.5197 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.8529, allocations: 97.06 kB / 0.5198 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.853, allocations: 0 / 0.5198 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.853, allocations: 8.625 kB / 0.5198 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.853, allocations: 2.297 kB / 0.5198 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8531, allocations: 0 / 0.5198 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.8554, allocations: 1.121 MB / 0.5209 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.8557, allocations: 205.1 kB / 0.5211 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8558, allocations: 12.58 kB / 0.5211 GB, free: 19.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.8564, allocations: 52.48 kB / 0.5211 GB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.8566, allocations: 35.14 kB / 0.5212 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.8567, allocations: 14.25 kB / 0.5212 GB, free: 18.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000409/0.8571, allocations: 260.5 kB / 0.5214 GB, free: 18.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8571, allocations: 0 / 0.5214 GB, free: 18.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003474/0.8606, allocations: 0.9946 MB / 0.5224 GB, free: 17.81 MB / 410.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01005/0.8707, allocations: 2.727 MB / 0.525 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.8727, allocations: 0.646 MB / 0.5257 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.8727, allocations: 0 / 0.5257 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8738, allocations: 0.5444 MB / 0.5262 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.8754, allocations: 177.8 kB / 0.5264 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.8861, allocations: 5.968 MB / 0.5322 GB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.8868, allocations: 0.9828 MB / 0.5332 GB, free: 8.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008736/0.8877, allocations: 279.7 kB / 0.5334 GB, free: 7.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.8881, allocations: 250.8 kB / 0.5337 GB, free: 7.766 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8882, allocations: 0 / 0.5337 GB, free: 7.766 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/1.003, allocations: 45.55 MB / 0.5782 GB, free: 10.46 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/1.003, allocations: 233.3 kB / 0.5784 GB, free: 10.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.944/6.947, allocations: 0 / 0.5784 GB, free: 10.23 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat