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.TestValveCoefficients.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.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",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.01097/0.01097, allocations: 107.8 kB / 15.06 MB, free: 6.031 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.001223/0.001224, allocations: 181.9 kB / 15.95 MB, free: 5.957 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.993/1.993, allocations: 194.6 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.2879/0.2879, allocations: 40.03 MB / 296.5 MB, free: 6.262 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004818, allocations: 12 kB / 361.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1166, allocations: 54.87 MB / 416 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.4/0.5167, allocations: 68.23 MB / 484.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04986/0.5666, allocations: 24.55 MB / 0.4969 GB, free: 9.344 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.5692, allocations: 59.44 kB / 0.4969 GB, free: 9.285 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004793/0.574, allocations: 0.984 MB / 0.4979 GB, free: 8.297 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01775/0.5918, allocations: 4.102 MB / 0.5019 GB, free: 4.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02727/0.6192, allocations: 6.196 MB / 0.5079 GB, free: 13.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00552/0.6247, allocations: 2.195 MB / 0.5101 GB, free: 11.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.6267, allocations: 0.7991 MB / 0.5109 GB, free: 10.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004042/0.6308, allocations: 1.207 MB / 0.512 GB, free: 9.754 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.6328, allocations: 0.7626 MB / 0.5128 GB, free: 8.988 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.6333, allocations: 60 kB / 0.5128 GB, free: 8.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02539/0.6587, allocations: 8.276 MB / 0.5209 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008547/0.6596, allocations: 302.9 kB / 0.5212 GB, free: 356 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.6604, allocations: 336.9 kB / 0.5215 GB, free: 12 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.6733, allocations: 4.642 MB / 0.5261 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6733, allocations: 0 / 0.5261 GB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.6734, allocations: 8 kB / 0.5261 GB, free: 11.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.656e-05/0.6734, allocations: 0 / 0.5261 GB, free: 11.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.009171/0.6826, allocations: 2.421 MB / 0.5284 GB, free: 8.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.6827, allocations: 8.031 kB / 0.5285 GB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005787/0.6833, allocations: 185.5 kB / 0.5286 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.6937, allocations: 0.8839 MB / 0.5295 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.6963, allocations: 0.9508 MB / 0.5304 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.6966, allocations: 110.3 kB / 0.5305 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/0.6969, allocations: 116 kB / 0.5306 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009254/0.7061, allocations: 2.263 MB / 0.5328 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.7062, allocations: 7.938 kB / 0.5329 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.7065, allocations: 56 kB / 0.5329 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.7066, allocations: 32 kB / 0.5329 GB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.717, allocations: 2.166 MB / 0.5351 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.7349, allocations: 10.1 MB / 0.5449 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007453/0.7424, allocations: 1.553 MB / 0.5464 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06818/0.8106, allocations: 17.24 MB / 0.5633 GB, free: 2.477 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/0.8108, allocations: 47.22 kB / 0.5633 GB, free: 2.422 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 3.567e-06/0.8108, allocations: 0 / 0.5633 GB, free: 2.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=80): time 0.01287/0.8236, allocations: 2.553 MB / 0.5658 GB, free: 15.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.8238, allocations: 269.7 kB / 0.5661 GB, free: 15.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.8257, allocations: 0.9649 MB / 0.567 GB, free: 14.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.8259, allocations: 45.7 kB / 0.5671 GB, free: 14.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/0.8266, allocations: 0.6846 MB / 0.5677 GB, free: 13.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.8269, allocations: 280.1 kB / 0.568 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.8271, allocations: 28 kB / 0.568 GB, free: 13.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8272, allocations: 353.9 kB / 0.5684 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.8292, allocations: 471.7 kB / 0.5688 GB, free: 12.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/0.8317, allocations: 1.049 MB / 0.5698 GB, free: 11.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.8339, allocations: 0.5981 MB / 0.5704 GB, free: 10.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.8339, allocations: 4 kB / 0.5704 GB, free: 10.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005719/0.8396, allocations: 1.598 MB / 0.572 GB, free: 9.156 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003047/0.8427, allocations: 7.313 MB / 0.5791 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.388e-05/0.8428, allocations: 23.95 kB / 0.5791 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.359e-05/0.8429, allocations: 32 kB / 0.5792 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/0.8456, allocations: 395.4 kB / 0.5795 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.397e-05/0.8457, allocations: 39.86 kB / 0.5796 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.848, allocations: 262.2 kB / 0.5798 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.8482, allocations: 83.97 kB / 0.5799 GB, free: 460 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8482, allocations: 6.031 kB / 0.5799 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005351/0.8536, allocations: 1.444 MB / 0.5813 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.8537, allocations: 16 kB / 0.5813 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.329e-05/0.8537, allocations: 32.83 kB / 0.5814 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.8561, allocations: 387.4 kB / 0.5817 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-05/0.8562, allocations: 43.84 kB / 0.5818 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.8582, allocations: 214.8 kB / 0.582 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.8584, allocations: 83.97 kB / 0.5821 GB, free: 14.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.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 (167): * Single equations (assignments): 167 * 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.0009254/0.8593, allocations: 408.5 kB / 0.5825 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.8597, allocations: 122.5 kB / 0.5826 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.8715, allocations: 5.942 MB / 0.5884 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001244/0.8717, allocations: 83.86 kB / 0.5885 GB, free: 7.656 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.8717, allocations: 0 / 0.5885 GB, free: 7.656 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.8717, allocations: 7.969 kB / 0.5885 GB, free: 7.648 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/0.8767, allocations: 2.772 MB / 0.5912 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/0.8768, allocations: 4 kB / 0.5912 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/0.8786, allocations: 263.6 kB / 0.5914 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.8786, allocations: 4 kB / 0.5914 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.8787, allocations: 28 kB / 0.5915 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.8788, allocations: 7.984 kB / 0.5915 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8788, allocations: 0 / 0.5915 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006223/0.885, allocations: 2.836 MB / 0.5942 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.8863, allocations: 0.5238 MB / 0.5948 GB, free: 1.109 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/0.8867, allocations: 20 kB / 0.5948 GB, free: 1.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.8882, allocations: 123.7 kB / 0.5949 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.8885, allocations: 84.81 kB / 0.595 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.8886, allocations: 35.98 kB / 0.595 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001785/0.8904, allocations: 0.7465 MB / 0.5957 GB, free: 104 kB / 474.7 MB Notification: Performance of sort global known variables: time 2.765e-06/0.8904, allocations: 4 kB / 0.5957 GB, free: 100 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.3119/1.202, allocations: 1.646 MB / 0.5973 GB, free: 160 MB / 474.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: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.0155/1.218, allocations: 4.67 MB / 0.6019 GB, free: 159.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008481/1.226, allocations: 2.609 MB / 0.6045 GB, free: 158.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/1.227, allocations: 1.062 kB / 0.6045 GB, free: 158.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003064/1.23, allocations: 1.435 MB / 0.6059 GB, free: 157.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005582/1.235, allocations: 0.5802 MB / 0.6064 GB, free: 157.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.254, allocations: 19.76 MB / 0.6257 GB, free: 140.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/1.256, allocations: 1.659 MB / 0.6273 GB, free: 140 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006098/1.262, allocations: 1.977 MB / 0.6293 GB, free: 140 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/1.264, allocations: 0.8671 MB / 0.6301 GB, free: 139.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/1.264, allocations: 2.312 kB / 0.6301 GB, free: 139.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1607/1.425, allocations: 75.53 MB / 0.7039 GB, free: 71.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/1.425, allocations: 240.2 kB / 0.7041 GB, free: 71.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/8.816, allocations: 4 kB / 0.7041 GB, free: 71.56 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat