Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.2 MB / 245 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 104.2 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3725/0.3725, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 4 kB / 468.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3618, allocations: 63.26 MB / 0.5192 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.943/5.305, allocations: 2.807 GB / 3.326 GB, free: 166.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/5.305, allocations: 88.98 kB / 3.326 GB, free: 166.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7444/6.05, allocations: 240.2 MB / 3.56 GB, free: 89.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.044e-06/6.05, allocations: 0 / 3.56 GB, free: 89.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.996e-05/6.05, allocations: 11.22 kB / 3.56 GB, free: 89.84 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.005955/6.056, allocations: 1.363 MB / 3.562 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/6.056, allocations: 11.69 kB / 3.562 GB, free: 89.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/6.058, allocations: 263.8 kB / 3.562 GB, free: 88.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/6.059, allocations: 415.7 kB / 3.562 GB, free: 88.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/6.059, allocations: 27.38 kB / 3.563 GB, free: 88.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/6.059, allocations: 36.78 kB / 3.563 GB, free: 88.63 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/6.061, allocations: 0.6725 MB / 3.563 GB, free: 88.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/6.061, allocations: 3.812 kB / 3.563 GB, free: 88.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/6.061, allocations: 19.89 kB / 3.563 GB, free: 88.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/6.061, allocations: 7.875 kB / 3.563 GB, free: 88.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/6.063, allocations: 0.6481 MB / 3.564 GB, free: 88.2 MB / 0.5417 GB 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.003041/6.066, allocations: 2.84 MB / 3.567 GB, free: 85.87 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/6.067, allocations: 0.5235 MB / 3.567 GB, free: 85.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04088/6.108, allocations: 26.75 MB / 3.593 GB, free: 67.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/6.108, allocations: 38.75 kB / 3.593 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=27): time 2.766e-06/6.108, allocations: 0 / 3.593 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27): time 0.003203/6.111, allocations: 0.8946 MB / 3.594 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/6.112, allocations: 110.7 kB / 3.594 GB, free: 67.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/6.112, allocations: 339.4 kB / 3.595 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/6.112, allocations: 37.48 kB / 3.595 GB, free: 67.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/6.112, allocations: 229.9 kB / 3.595 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/6.112, allocations: 92.38 kB / 3.595 GB, free: 67.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/6.112, allocations: 4 kB / 3.595 GB, free: 67.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/6.112, allocations: 353 kB / 3.595 GB, free: 66.71 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/6.113, allocations: 177 kB / 3.595 GB, free: 66.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/6.113, allocations: 288.9 kB / 3.596 GB, free: 66.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/6.114, allocations: 192.3 kB / 3.596 GB, free: 66.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/6.114, allocations: 0 / 3.596 GB, free: 66.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001256/6.115, allocations: 0.515 MB / 3.596 GB, free: 66.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002229/6.115, allocations: 1.05 MB / 3.597 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/6.115, allocations: 3.969 kB / 3.597 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/6.116, allocations: 11.83 kB / 3.597 GB, free: 65.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/6.116, allocations: 118.7 kB / 3.598 GB, free: 65.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/6.116, allocations: 3.938 kB / 3.598 GB, free: 65.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/6.117, allocations: 84.8 kB / 3.598 GB, free: 65.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/6.117, allocations: 15.5 kB / 3.598 GB, free: 65.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/6.117, allocations: 7.562 kB / 3.598 GB, free: 65.13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/6.118, allocations: 452.8 kB / 3.598 GB, free: 65.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/6.118, allocations: 7.75 kB / 3.598 GB, free: 65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-06/6.118, allocations: 3.844 kB / 3.598 GB, free: 65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/6.118, allocations: 109.9 kB / 3.598 GB, free: 65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/6.118, allocations: 11.56 kB / 3.598 GB, free: 64.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/6.119, allocations: 82.22 kB / 3.598 GB, free: 64.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/6.119, allocations: 18.81 kB / 3.598 GB, free: 64.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0002761/6.119, allocations: 250.1 kB / 3.599 GB, free: 64.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/6.119, allocations: 38.88 kB / 3.599 GB, free: 64.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/6.122, allocations: 2.003 MB / 3.601 GB, free: 63.82 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/6.122, allocations: 30.05 kB / 3.601 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/6.122, allocations: 0 / 3.601 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/6.122, allocations: 3.344 kB / 3.601 GB, free: 63.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/6.123, allocations: 1.051 MB / 3.602 GB, free: 63.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/6.123, allocations: 0 / 3.602 GB, free: 63.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/6.123, allocations: 102 kB / 3.602 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/6.123, allocations: 3.844 kB / 3.602 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/6.123, allocations: 11.78 kB / 3.602 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/6.123, allocations: 0 / 3.602 GB, free: 63.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/6.123, allocations: 3.984 kB / 3.602 GB, free: 63.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/6.125, allocations: 1.161 MB / 3.603 GB, free: 62.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/6.125, allocations: 272.8 kB / 3.603 GB, free: 62.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/6.125, allocations: 7.969 kB / 3.603 GB, free: 62.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/6.126, allocations: 49.53 kB / 3.603 GB, free: 62.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/6.126, allocations: 40.77 kB / 3.603 GB, free: 62.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/6.126, allocations: 11.66 kB / 3.603 GB, free: 62.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003749/6.126, allocations: 376.8 kB / 3.604 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/6.126, allocations: 0 / 3.604 GB, free: 62.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004774/6.131, allocations: 1.172 MB / 3.605 GB, free: 62.01 MB / 0.5417 GB 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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.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 (38): * Single equations (assignments): 29 * 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.007689/6.139, allocations: 1.446 MB / 3.606 GB, free: 61.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002205/6.141, allocations: 0.9147 MB / 3.607 GB, free: 61.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/6.141, allocations: 0 / 3.607 GB, free: 61.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007866/6.142, allocations: 0.5523 MB / 3.608 GB, free: 61.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/6.143, allocations: 228.3 kB / 3.608 GB, free: 61.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/6.146, allocations: 1.99 MB / 3.61 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/6.146, allocations: 0.999 MB / 3.611 GB, free: 59.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007815/6.147, allocations: 0.5388 MB / 3.611 GB, free: 59.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/6.147, allocations: 45.55 kB / 3.611 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of SimCode: time 6.92e-07/6.147, allocations: 4 kB / 3.611 GB, free: 59.11 MB / 0.5417 GB Notification: Performance of Templates: time 0.04678/6.194, allocations: 33 MB / 3.644 GB, free: 48.53 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches