Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,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.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009522/0.0009523, allocations: 174.4 kB / 8.74 MB, free: 348 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.43/1.43, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009783/0.0009783, allocations: 98.34 kB / 281.6 MB, free: 5.32 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.2197/0.2197, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.343e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.46/7.596, allocations: 2.776 GB / 3.271 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/7.596, allocations: 82.58 kB / 3.271 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8589/8.455, allocations: 236.6 MB / 3.502 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/8.455, allocations: 2.625 kB / 3.502 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.556e-05/8.455, allocations: 7.781 kB / 3.502 GB, free: 92.7 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005429/8.46, allocations: 1.277 MB / 3.503 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/8.46, allocations: 18.45 kB / 3.503 GB, free: 91.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/8.462, allocations: 252.8 kB / 3.503 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/8.463, allocations: 421.4 kB / 3.504 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/8.463, allocations: 10.69 kB / 3.504 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/8.463, allocations: 22.62 kB / 3.504 GB, free: 91.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005907/8.464, allocations: 344.2 kB / 3.504 GB, free: 91.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/8.465, allocations: 417.7 kB / 3.505 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/8.465, allocations: 3.719 kB / 3.505 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/8.465, allocations: 3.938 kB / 3.505 GB, free: 91.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/8.465, allocations: 7.344 kB / 3.505 GB, free: 91.16 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.01819/8.483, allocations: 10.24 MB / 3.515 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/8.484, allocations: 302.5 kB / 3.515 GB, free: 84.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/8.484, allocations: 142.7 kB / 3.515 GB, free: 84.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0433/8.527, allocations: 24.16 MB / 3.539 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/8.527, allocations: 42.48 kB / 3.539 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.055e-06/8.527, allocations: 0 / 3.539 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002349/8.53, allocations: 0.5768 MB / 3.539 GB, free: 68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/8.53, allocations: 109.7 kB / 3.539 GB, free: 67.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/8.53, allocations: 274.2 kB / 3.54 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/8.53, allocations: 25.7 kB / 3.54 GB, free: 67.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/8.53, allocations: 241 kB / 3.54 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/8.531, allocations: 87.73 kB / 3.54 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/8.531, allocations: 0 / 3.54 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/8.531, allocations: 350.3 kB / 3.54 GB, free: 66.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/8.531, allocations: 98.05 kB / 3.54 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/8.531, allocations: 228.2 kB / 3.541 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009187/8.532, allocations: 229.2 kB / 3.541 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/8.532, allocations: 0 / 3.541 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001364/8.533, allocations: 472.8 kB / 3.541 GB, free: 65.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004262/8.534, allocations: 1.394 MB / 3.543 GB, free: 64.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/8.534, allocations: 4 kB / 3.543 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/8.534, allocations: 11.95 kB / 3.543 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/8.534, allocations: 110.4 kB / 3.543 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/8.534, allocations: 4 kB / 3.543 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/8.535, allocations: 66.33 kB / 3.543 GB, free: 64.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/8.535, allocations: 19.7 kB / 3.543 GB, free: 64.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/8.535, allocations: 4 kB / 3.543 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009443/8.536, allocations: 352.6 kB / 3.543 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/8.536, allocations: 8.312 kB / 3.543 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/8.536, allocations: 8 kB / 3.543 GB, free: 63.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/8.536, allocations: 99.17 kB / 3.543 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/8.536, allocations: 11.94 kB / 3.543 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/8.537, allocations: 54.81 kB / 3.543 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/8.537, allocations: 24 kB / 3.543 GB, free: 63.83 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.0001266/8.537, allocations: 122.2 kB / 3.544 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/8.537, allocations: 39.38 kB / 3.544 GB, free: 63.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/8.539, allocations: 1.707 MB / 3.545 GB, free: 62.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/8.539, allocations: 27.3 kB / 3.545 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/8.539, allocations: 0 / 3.545 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/8.539, allocations: 7.828 kB / 3.545 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008872/8.54, allocations: 0.8853 MB / 3.546 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/8.54, allocations: 3.953 kB / 3.546 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/8.54, allocations: 89 kB / 3.546 GB, free: 61.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/8.54, allocations: 0 / 3.546 GB, free: 61.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/8.54, allocations: 8 kB / 3.546 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/8.54, allocations: 0 / 3.546 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/8.54, allocations: 0 / 3.546 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/8.542, allocations: 0.9816 MB / 3.547 GB, free: 60.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/8.542, allocations: 264.9 kB / 3.547 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.408e-05/8.542, allocations: 4 kB / 3.547 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/8.542, allocations: 31.53 kB / 3.547 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/8.543, allocations: 31.67 kB / 3.547 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/8.543, allocations: 15.7 kB / 3.547 GB, free: 60.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003095/8.543, allocations: 321.4 kB / 3.548 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/8.543, allocations: 0 / 3.548 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005106/8.548, allocations: 1.138 MB / 3.549 GB, free: 58.66 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 30 * 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.008148/8.556, allocations: 1.494 MB / 3.55 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001136/8.557, allocations: 0.6689 MB / 3.551 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/8.557, allocations: 0 / 3.551 GB, free: 56.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/8.558, allocations: 437.5 kB / 3.551 GB, free: 56.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/8.559, allocations: 180.7 kB / 3.552 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/8.561, allocations: 1.095 MB / 3.553 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/8.561, allocations: 0.9893 MB / 3.554 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009353/8.562, allocations: 0.566 MB / 3.554 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/8.562, allocations: 47.19 kB / 3.554 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/8.562, allocations: 0 / 3.554 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.04533/8.608, allocations: 29.51 MB / 3.583 GB, free: 29.66 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches