Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",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.01411/0.01411, allocations: 174.7 kB / 15.12 MB, free: 5.984 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 2.064/2.064, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002039/0.002039, allocations: 132.6 kB / 255.6 MB, free: 10.23 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.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004817, allocations: 11.53 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 54.88 MB / 461.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.714/7.82, allocations: 2.608 GB / 3.058 GB, free: 61.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/7.82, allocations: 91.48 kB / 3.058 GB, free: 61.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.844/10.66, allocations: 0.4999 GB / 3.558 GB, free: 40.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.865e-06/10.66, allocations: 0 / 3.558 GB, free: 40.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001037/10.66, allocations: 36.97 kB / 3.558 GB, free: 40.78 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009613/10.67, allocations: 2.163 MB / 3.56 GB, free: 39.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/10.67, allocations: 12.22 kB / 3.56 GB, free: 39.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005021/10.67, allocations: 143.7 kB / 3.56 GB, free: 39.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008675/10.68, allocations: 0.7138 MB / 3.561 GB, free: 39.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/10.69, allocations: 0.8549 MB / 3.562 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/10.69, allocations: 86.17 kB / 3.562 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/10.69, allocations: 85.59 kB / 3.562 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/10.69, allocations: 1.738 MB / 3.563 GB, free: 39.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/10.69, allocations: 6.844 kB / 3.564 GB, free: 39.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/10.69, allocations: 47.69 kB / 3.564 GB, free: 39.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/10.69, allocations: 27.56 kB / 3.564 GB, free: 39.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007971/10.7, allocations: 1.647 MB / 3.565 GB, free: 39.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/10.71, allocations: 7.364 MB / 3.572 GB, free: 34.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005984/10.72, allocations: 1.206 MB / 3.574 GB, free: 34.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06909/10.79, allocations: 17.6 MB / 3.591 GB, free: 25.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/10.79, allocations: 45.5 kB / 3.591 GB, free: 25.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=67): time 2.915e-06/10.79, allocations: 0 / 3.591 GB, free: 25.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=67): time 0.01109/10.8, allocations: 2.078 MB / 3.593 GB, free: 25.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/10.8, allocations: 213.7 kB / 3.593 GB, free: 24.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/10.8, allocations: 0.602 MB / 3.594 GB, free: 24.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/10.8, allocations: 39.05 kB / 3.594 GB, free: 24.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/10.8, allocations: 0.5267 MB / 3.594 GB, free: 24.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/10.8, allocations: 229.5 kB / 3.594 GB, free: 24.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/10.8, allocations: 16.81 kB / 3.594 GB, free: 24.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/10.8, allocations: 410.8 kB / 3.595 GB, free: 23.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/10.8, allocations: 374.1 kB / 3.595 GB, free: 23.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/10.81, allocations: 0.7848 MB / 3.596 GB, free: 23.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/10.81, allocations: 461.2 kB / 3.596 GB, free: 23.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/10.81, allocations: 11.5 kB / 3.596 GB, free: 23.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004435/10.81, allocations: 1.239 MB / 3.598 GB, free: 23.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001923/10.82, allocations: 5.057 MB / 3.603 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.436e-05/10.82, allocations: 12.47 kB / 3.603 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-05/10.82, allocations: 19.91 kB / 3.603 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/10.82, allocations: 302.2 kB / 3.603 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-05/10.82, allocations: 25.25 kB / 3.603 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/10.82, allocations: 175.2 kB / 3.603 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/10.82, allocations: 63.89 kB / 3.603 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/10.82, allocations: 7.828 kB / 3.603 GB, free: 33.82 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004315/10.82, allocations: 1.119 MB / 3.604 GB, free: 33.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/10.82, allocations: 11.16 kB / 3.604 GB, free: 33.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/10.82, allocations: 21.44 kB / 3.604 GB, free: 33.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/10.83, allocations: 299.2 kB / 3.604 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.392e-05/10.83, allocations: 24.31 kB / 3.605 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/10.83, allocations: 163.7 kB / 3.605 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/10.83, allocations: 64.61 kB / 3.605 GB, free: 33.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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 (127): * Single equations (assignments): 127 * 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.0009003/10.83, allocations: 354.6 kB / 3.605 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/10.83, allocations: 102.1 kB / 3.605 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00879/10.84, allocations: 4.634 MB / 3.61 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.478e-05/10.84, allocations: 63.23 kB / 3.61 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/10.84, allocations: 0 / 3.61 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/10.84, allocations: 5.391 kB / 3.61 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/10.84, allocations: 2.164 MB / 3.612 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/10.84, allocations: 3.281 kB / 3.612 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/10.84, allocations: 224.9 kB / 3.612 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/10.84, allocations: 3.812 kB / 3.612 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/10.84, allocations: 29.48 kB / 3.612 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/10.84, allocations: 2.031 kB / 3.612 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/10.84, allocations: 0 / 3.612 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/10.85, allocations: 2.281 MB / 3.614 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009895/10.85, allocations: 456.5 kB / 3.615 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/10.85, allocations: 15.38 kB / 3.615 GB, free: 31.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/10.85, allocations: 102.4 kB / 3.615 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/10.85, allocations: 76.53 kB / 3.615 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/10.85, allocations: 26.2 kB / 3.615 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001102/10.85, allocations: 0.567 MB / 3.616 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.01e-07/10.85, allocations: 0 / 3.616 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007681/10.86, allocations: 1.549 MB / 3.617 GB, free: 31.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($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,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.0156/10.88, allocations: 4.505 MB / 3.621 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006357/10.88, allocations: 2.047 MB / 3.623 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/10.88, allocations: 4 kB / 3.623 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/10.89, allocations: 1.144 MB / 3.625 GB, free: 30.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/10.89, allocations: 465.2 kB / 3.625 GB, free: 30.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7458/11.64, allocations: 136 MB / 3.758 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009857/11.64, allocations: 1.43 MB / 3.759 GB, free: 53.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00354/11.64, allocations: 1.475 MB / 3.761 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/11.64, allocations: 0.6658 MB / 3.761 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/11.64, allocations: 3.781 kB / 3.761 GB, free: 53.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/11.81, allocations: 64.02 MB / 3.824 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/11.81, allocations: 239.5 kB / 3.824 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.768/17.58, allocations: 0 / 3.824 GB, free: 49.79 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat