Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009902/0.009902, allocations: 175.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.949/1.949, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001987/0.001987, allocations: 104.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2525/0.2525, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005016, allocations: 10.91 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.775/7.881, allocations: 2.608 GB / 3.058 GB, free: 60.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/7.882, allocations: 88.36 kB / 3.058 GB, free: 60.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.635/11.52, allocations: 0.6344 GB / 3.692 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.476e-06/11.52, allocations: 0 / 3.692 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002098/11.52, allocations: 40.11 kB / 3.692 GB, free: 37.82 MB / 0.4948 GB 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.01349/11.53, allocations: 2.58 MB / 3.695 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/11.53, allocations: 10.31 kB / 3.695 GB, free: 36.78 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008211/11.53, allocations: 187.5 kB / 3.695 GB, free: 36.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/11.54, allocations: 0.9475 MB / 3.696 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/11.55, allocations: 1.059 MB / 3.697 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/11.55, allocations: 108.5 kB / 3.697 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005315/11.55, allocations: 118.6 kB / 3.697 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/11.56, allocations: 2.267 MB / 3.7 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/11.56, allocations: 6.75 kB / 3.7 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003243/11.56, allocations: 58.97 kB / 3.7 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/11.56, allocations: 30.28 kB / 3.7 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/11.57, allocations: 2.143 MB / 3.702 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/11.59, allocations: 10.08 MB / 3.712 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007372/11.6, allocations: 1.534 MB / 3.713 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06479/11.66, allocations: 17.02 MB / 3.73 GB, free: 20.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/11.66, allocations: 42.69 kB / 3.73 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 3.607e-06/11.66, allocations: 2.844 kB / 3.73 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80): time 0.01265/11.67, allocations: 2.535 MB / 3.732 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/11.67, allocations: 268.4 kB / 3.732 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/11.68, allocations: 0.847 MB / 3.733 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/11.68, allocations: 44.3 kB / 3.733 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/11.68, allocations: 0.6852 MB / 3.734 GB, free: 19.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/11.68, allocations: 281.6 kB / 3.734 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/11.68, allocations: 23.72 kB / 3.734 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001121/11.68, allocations: 357.4 kB / 3.735 GB, free: 18.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/11.68, allocations: 470.6 kB / 3.735 GB, free: 18.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/11.68, allocations: 1.058 MB / 3.736 GB, free: 18.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/11.68, allocations: 0.5872 MB / 3.737 GB, free: 18.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/11.68, allocations: 9.953 kB / 3.737 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005626/11.69, allocations: 1.596 MB / 3.738 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003033/11.69, allocations: 7.323 MB / 3.745 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.307e-05/11.69, allocations: 18.53 kB / 3.745 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.947e-05/11.69, allocations: 34.17 kB / 3.745 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/11.69, allocations: 394 kB / 3.746 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.605e-05/11.69, allocations: 40.72 kB / 3.746 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/11.7, allocations: 265.8 kB / 3.746 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/11.7, allocations: 86.03 kB / 3.746 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/11.7, allocations: 3.875 kB / 3.746 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005135/11.7, allocations: 1.445 MB / 3.748 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/11.7, allocations: 18.16 kB / 3.748 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/11.7, allocations: 28.91 kB / 3.748 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/11.71, allocations: 389.9 kB / 3.748 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.833e-05/11.71, allocations: 39.53 kB / 3.748 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/11.71, allocations: 214.6 kB / 3.748 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/11.71, allocations: 80.75 kB / 3.748 GB, free: 26.05 MB / 0.5105 GB 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.001231/11.71, allocations: 409.2 kB / 3.749 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/11.71, allocations: 129.4 kB / 3.749 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009987/11.72, allocations: 5.941 MB / 3.755 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-05/11.72, allocations: 86.11 kB / 3.755 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/11.72, allocations: 3.875 kB / 3.755 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/11.72, allocations: 8.297 kB / 3.755 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/11.73, allocations: 2.77 MB / 3.757 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/11.73, allocations: 0 / 3.757 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/11.73, allocations: 258.3 kB / 3.758 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/11.73, allocations: 3.969 kB / 3.758 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/11.73, allocations: 26.75 kB / 3.758 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/11.73, allocations: 6.438 kB / 3.758 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/11.73, allocations: 0 / 3.758 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/11.73, allocations: 2.836 MB / 3.761 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/11.73, allocations: 0.5314 MB / 3.761 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/11.73, allocations: 24.3 kB / 3.761 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/11.74, allocations: 124.3 kB / 3.761 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/11.74, allocations: 91.2 kB / 3.761 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/11.74, allocations: 36.42 kB / 3.761 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00155/11.74, allocations: 0.7449 MB / 3.762 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/11.74, allocations: 0 / 3.762 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008561/11.75, allocations: 1.725 MB / 3.764 GB, free: 23.65 MB / 0.5105 GB 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.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.01668/11.76, allocations: 5.232 MB / 3.769 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007596/11.77, allocations: 2.601 MB / 3.771 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/11.77, allocations: 3.094 kB / 3.771 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/11.77, allocations: 1.437 MB / 3.773 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/11.78, allocations: 0.5847 MB / 3.773 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8092/12.59, allocations: 141.5 MB / 3.912 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/12.59, allocations: 1.654 MB / 3.913 GB, free: 48.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005021/12.59, allocations: 1.965 MB / 3.915 GB, free: 48.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/12.6, allocations: 0.8699 MB / 3.916 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/12.6, allocations: 0 / 3.916 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1824/12.78, allocations: 76.59 MB / 3.991 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0009131/12.78, allocations: 243.3 kB / 3.991 GB, free: 44.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.956/18.74, allocations: 3.281 kB / 3.991 GB, free: 44.71 MB / 0.5261 GB 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