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.0009567/0.0009567, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008352/0.0008352, allocations: 96.62 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1744/0.1744, allocations: 45.15 MB / 383.8 MB, free: 308 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.543e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.697/6.803, allocations: 2.806 GB / 3.31 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/6.803, allocations: 83.52 kB / 3.31 GB, free: 39.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7891/7.592, allocations: 236.6 MB / 3.541 GB, free: 18.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/7.592, allocations: 0 / 3.541 GB, free: 18.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.824e-05/7.592, allocations: 12 kB / 3.541 GB, free: 18.46 MB / 0.5261 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.005076/7.597, allocations: 1.309 MB / 3.543 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/7.597, allocations: 12.02 kB / 3.543 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/7.599, allocations: 259.2 kB / 3.543 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/7.6, allocations: 416 kB / 3.543 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/7.6, allocations: 16 kB / 3.543 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/7.6, allocations: 20 kB / 3.543 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005001/7.6, allocations: 349.4 kB / 3.544 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005126/7.601, allocations: 422.2 kB / 3.544 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/7.601, allocations: 11.88 kB / 3.544 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/7.601, allocations: 0 / 3.544 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/7.601, allocations: 8 kB / 3.544 GB, free: 15.55 MB / 0.5261 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.0164/7.617, allocations: 11.07 MB / 3.555 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/7.618, allocations: 246.8 kB / 3.555 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/7.618, allocations: 133.5 kB / 3.555 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3828/8.001, allocations: 26.83 MB / 3.582 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/8.001, allocations: 39.59 kB / 3.582 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/8.001, allocations: 1.25 kB / 3.582 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.002127/8.003, allocations: 0.5587 MB / 3.582 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/8.003, allocations: 109.2 kB / 3.582 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/8.003, allocations: 269.3 kB / 3.583 GB, free: 67.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/8.003, allocations: 26.55 kB / 3.583 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/8.004, allocations: 237.9 kB / 3.583 GB, free: 67.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/8.004, allocations: 85.14 kB / 3.583 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/8.004, allocations: 0 / 3.583 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/8.004, allocations: 346.5 kB / 3.583 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/8.004, allocations: 98.16 kB / 3.583 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/8.004, allocations: 203.3 kB / 3.583 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/8.005, allocations: 205.4 kB / 3.584 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/8.005, allocations: 3.219 kB / 3.584 GB, free: 66.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00114/8.006, allocations: 431.5 kB / 3.584 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/8.006, allocations: 1.048 MB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/8.006, allocations: 9.719 kB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/8.006, allocations: 5.562 kB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/8.007, allocations: 111.1 kB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/8.007, allocations: 5.469 kB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/8.007, allocations: 81.83 kB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/8.007, allocations: 18.22 kB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/8.008, allocations: 4.125 kB / 3.585 GB, free: 65.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009094/8.008, allocations: 335.6 kB / 3.586 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/8.008, allocations: 3.312 kB / 3.586 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-06/8.008, allocations: 4.125 kB / 3.586 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/8.009, allocations: 117.3 kB / 3.586 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/8.009, allocations: 5.016 kB / 3.586 GB, free: 65.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/8.009, allocations: 70.42 kB / 3.586 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/8.009, allocations: 16.77 kB / 3.586 GB, free: 65.62 MB / 0.5261 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 9.542e-05/8.009, allocations: 115.3 kB / 3.586 GB, free: 65.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/8.01, allocations: 34.19 kB / 3.586 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/8.012, allocations: 1.686 MB / 3.588 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/8.012, allocations: 26.69 kB / 3.588 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/8.012, allocations: 2.578 kB / 3.588 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/8.012, allocations: 5.594 kB / 3.588 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/8.013, allocations: 0.8808 MB / 3.589 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/8.013, allocations: 4.125 kB / 3.589 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/8.013, allocations: 97.22 kB / 3.589 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/8.013, allocations: 5.938 kB / 3.589 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/8.013, allocations: 3.344 kB / 3.589 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/8.013, allocations: 2.156 kB / 3.589 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/8.013, allocations: 0 / 3.589 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/8.015, allocations: 0.9749 MB / 3.59 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/8.015, allocations: 259.8 kB / 3.59 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/8.015, allocations: 1.281 kB / 3.59 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/8.016, allocations: 49.94 kB / 3.59 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/8.016, allocations: 38.61 kB / 3.59 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/8.016, allocations: 11.94 kB / 3.59 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004053/8.016, allocations: 312.3 kB / 3.59 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/8.016, allocations: 0 / 3.59 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005057/8.021, allocations: 1.154 MB / 3.591 GB, free: 64.67 MB / 0.5261 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.005847/8.027, allocations: 1.504 MB / 3.593 GB, free: 64.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009698/8.028, allocations: 0.6425 MB / 3.593 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/8.028, allocations: 0 / 3.593 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/8.028, allocations: 432.9 kB / 3.594 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/8.029, allocations: 184.9 kB / 3.594 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/8.031, allocations: 1.091 MB / 3.595 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/8.031, allocations: 0.9837 MB / 3.596 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007412/8.032, allocations: 0.5622 MB / 3.597 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/8.032, allocations: 37.28 kB / 3.597 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/8.032, allocations: 0 / 3.597 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.0363/8.068, allocations: 29.62 MB / 3.626 GB, free: 62.51 MB / 0.5261 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