Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 171.2 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 89.98 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.248e-05/1.25e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.796/6.937, allocations: 2.805 GB / 3.3 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/6.938, allocations: 85.5 kB / 3.3 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.88/7.818, allocations: 236.5 MB / 3.531 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/7.818, allocations: 0 / 3.531 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.664e-05/7.818, allocations: 11.81 kB / 3.531 GB, free: 91.09 MB / 0.5105 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.006686/7.824, allocations: 1.305 MB / 3.532 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/7.824, allocations: 18.17 kB / 3.532 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/7.827, allocations: 259.1 kB / 3.532 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/7.828, allocations: 425.5 kB / 3.533 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/7.828, allocations: 11.44 kB / 3.533 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/7.828, allocations: 19.72 kB / 3.533 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000662/7.829, allocations: 349.7 kB / 3.533 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/7.829, allocations: 423.3 kB / 3.533 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/7.829, allocations: 6.266 kB / 3.533 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/7.829, allocations: 3.875 kB / 3.533 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/7.829, allocations: 11.41 kB / 3.533 GB, free: 90.02 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01863/7.848, allocations: 10.35 MB / 3.543 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/7.849, allocations: 256.9 kB / 3.544 GB, free: 83.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/7.849, allocations: 129.2 kB / 3.544 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04559/7.895, allocations: 24.28 MB / 3.568 GB, free: 68.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/7.895, allocations: 37.16 kB / 3.568 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 3.336e-06/7.895, allocations: 0 / 3.568 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.002552/7.897, allocations: 0.5707 MB / 3.568 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/7.897, allocations: 109.5 kB / 3.568 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/7.898, allocations: 254.3 kB / 3.569 GB, free: 68.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/7.898, allocations: 28.22 kB / 3.569 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/7.898, allocations: 242.1 kB / 3.569 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/7.898, allocations: 85.62 kB / 3.569 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/7.898, allocations: 3.562 kB / 3.569 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001038/7.898, allocations: 342.6 kB / 3.569 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/7.898, allocations: 97.08 kB / 3.569 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/7.899, allocations: 205.6 kB / 3.569 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/7.9, allocations: 207.8 kB / 3.57 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/7.9, allocations: 0 / 3.57 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001229/7.901, allocations: 431.3 kB / 3.57 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003142/7.901, allocations: 1.048 MB / 3.571 GB, free: 66.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/7.901, allocations: 7.656 kB / 3.571 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/7.901, allocations: 3.812 kB / 3.571 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/7.902, allocations: 116.2 kB / 3.571 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/7.902, allocations: 7.75 kB / 3.571 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/7.902, allocations: 83.42 kB / 3.571 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/7.902, allocations: 18.06 kB / 3.571 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/7.903, allocations: 5.219 kB / 3.571 GB, free: 66.57 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008871/7.903, allocations: 332.9 kB / 3.572 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/7.903, allocations: 0 / 3.572 GB, free: 66.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/7.903, allocations: 11.42 kB / 3.572 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/7.904, allocations: 118.4 kB / 3.572 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/7.904, allocations: 3.969 kB / 3.572 GB, free: 66.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/7.904, allocations: 60.05 kB / 3.572 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/7.904, allocations: 21.97 kB / 3.572 GB, free: 66.54 MB / 0.5105 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 () * 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.0001334/7.905, allocations: 121.4 kB / 3.572 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/7.905, allocations: 38.41 kB / 3.572 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/7.907, allocations: 1.687 MB / 3.574 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/7.907, allocations: 32.23 kB / 3.574 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/7.907, allocations: 3.062 kB / 3.574 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/7.907, allocations: 0 / 3.574 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/7.908, allocations: 0.8794 MB / 3.575 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/7.908, allocations: 0 / 3.575 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/7.908, allocations: 100.6 kB / 3.575 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/7.908, allocations: 3.938 kB / 3.575 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/7.908, allocations: 2.656 kB / 3.575 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/7.908, allocations: 3.125 kB / 3.575 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/7.908, allocations: 7.328 kB / 3.575 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/7.91, allocations: 0.9646 MB / 3.576 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/7.91, allocations: 256.4 kB / 3.576 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/7.91, allocations: 0 / 3.576 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/7.911, allocations: 48.8 kB / 3.576 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/7.911, allocations: 35.3 kB / 3.576 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/7.911, allocations: 13.95 kB / 3.576 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003286/7.911, allocations: 316.1 kB / 3.576 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/7.911, allocations: 0 / 3.576 GB, free: 65.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005894/7.917, allocations: 1.145 MB / 3.577 GB, free: 65.29 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.009497/7.926, allocations: 1.501 MB / 3.579 GB, free: 65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001277/7.928, allocations: 0.6453 MB / 3.579 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/7.928, allocations: 0 / 3.579 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005312/7.928, allocations: 437.7 kB / 3.58 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/7.93, allocations: 179.1 kB / 3.58 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/7.932, allocations: 1.087 MB / 3.581 GB, free: 64.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/7.932, allocations: 0.9918 MB / 3.582 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009429/7.933, allocations: 0.5565 MB / 3.583 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/7.933, allocations: 40.98 kB / 3.583 GB, free: 63.92 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/7.933, allocations: 0 / 3.583 GB, free: 63.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.04492/7.978, allocations: 29.55 MB / 3.612 GB, free: 58.78 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches