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.00109/0.001089, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 236 MB, free: 2.938 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.0009397/0.0009397, allocations: 93.95 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.092e-05, allocations: 224 / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.377/6.513, allocations: 2.777 GB / 3.279 GB, free: 92.26 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/6.514, allocations: 90.2 kB / 3.279 GB, free: 92.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.797/7.311, allocations: 239.4 MB / 3.512 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.402e-06/7.311, allocations: 0 / 3.512 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.617e-05/7.311, allocations: 8 kB / 3.512 GB, free: 68.34 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.005584/7.316, allocations: 1.28 MB / 3.514 GB, free: 67.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/7.316, allocations: 8.031 kB / 3.514 GB, free: 67.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/7.318, allocations: 256.1 kB / 3.514 GB, free: 66.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/7.319, allocations: 421.9 kB / 3.514 GB, free: 66.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/7.319, allocations: 28.78 kB / 3.514 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/7.319, allocations: 32 kB / 3.514 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/7.32, allocations: 0.6281 MB / 3.515 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/7.32, allocations: 4 kB / 3.515 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/7.32, allocations: 16 kB / 3.515 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/7.32, allocations: 8 kB / 3.515 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/7.321, allocations: 0.5299 MB / 3.516 GB, free: 65.04 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.002608/7.324, allocations: 2.72 MB / 3.518 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/7.325, allocations: 0.5063 MB / 3.519 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/7.326, allocations: 144.8 kB / 3.519 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03919/7.365, allocations: 24.15 MB / 3.542 GB, free: 34.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/7.365, allocations: 44.84 kB / 3.542 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/7.365, allocations: 0 / 3.542 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002124/7.367, allocations: 0.6618 MB / 3.543 GB, free: 33.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/7.367, allocations: 106.8 kB / 3.543 GB, free: 33.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/7.368, allocations: 331.1 kB / 3.544 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/7.368, allocations: 33.7 kB / 3.544 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/7.368, allocations: 235.4 kB / 3.544 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/7.368, allocations: 90.66 kB / 3.544 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/7.368, allocations: 8 kB / 3.544 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001064/7.368, allocations: 350.8 kB / 3.544 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/7.368, allocations: 108 kB / 3.544 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/7.368, allocations: 235.3 kB / 3.545 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/7.369, allocations: 132.3 kB / 3.545 GB, free: 32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/7.369, allocations: 8 kB / 3.545 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005707/7.369, allocations: 404.7 kB / 3.545 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/7.37, allocations: 1.4 MB / 3.546 GB, free: 30.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/7.37, allocations: 7.953 kB / 3.546 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/7.37, allocations: 7.938 kB / 3.546 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/7.37, allocations: 107.9 kB / 3.547 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/7.37, allocations: 4 kB / 3.547 GB, free: 29.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/7.37, allocations: 83.48 kB / 3.547 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/7.37, allocations: 20 kB / 3.547 GB, free: 29.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/7.371, allocations: 7.938 kB / 3.547 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004483/7.371, allocations: 323.6 kB / 3.547 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/7.371, allocations: 4 kB / 3.547 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/7.371, allocations: 8 kB / 3.547 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/7.371, allocations: 112.3 kB / 3.547 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/7.371, allocations: 15.97 kB / 3.547 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/7.372, allocations: 63.56 kB / 3.547 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/7.372, allocations: 24 kB / 3.547 GB, free: 29.3 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 9.932e-05/7.372, allocations: 136.7 kB / 3.547 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/7.372, allocations: 43.53 kB / 3.547 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/7.374, allocations: 1.908 MB / 3.549 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/7.374, allocations: 27.95 kB / 3.549 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/7.374, allocations: 0 / 3.549 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/7.374, allocations: 7.984 kB / 3.549 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/7.374, allocations: 1.045 MB / 3.55 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/7.374, allocations: 4 kB / 3.55 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/7.375, allocations: 87.86 kB / 3.55 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/7.375, allocations: 4 kB / 3.55 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/7.375, allocations: 7.938 kB / 3.55 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/7.375, allocations: 8 kB / 3.55 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/7.375, allocations: 0 / 3.55 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/7.376, allocations: 1.038 MB / 3.551 GB, free: 24.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/7.376, allocations: 271.3 kB / 3.552 GB, free: 24.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/7.376, allocations: 4 kB / 3.552 GB, free: 24.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/7.376, allocations: 43.97 kB / 3.552 GB, free: 24.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/7.377, allocations: 39.88 kB / 3.552 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/7.377, allocations: 12 kB / 3.552 GB, free: 24.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003643/7.377, allocations: 373.5 kB / 3.552 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/7.377, allocations: 0 / 3.552 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005337/7.382, allocations: 1.162 MB / 3.553 GB, free: 23 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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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.006052/7.388, allocations: 1.44 MB / 3.555 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001104/7.389, allocations: 0.735 MB / 3.555 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/7.389, allocations: 0 / 3.555 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003794/7.39, allocations: 495.5 kB / 3.556 GB, free: 20.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/7.391, allocations: 217.8 kB / 3.556 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/7.393, allocations: 1.213 MB / 3.557 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/7.393, allocations: 1.008 MB / 3.558 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000766/7.394, allocations: 0.5627 MB / 3.559 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/7.394, allocations: 43.42 kB / 3.559 GB, free: 17.38 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/7.394, allocations: 4 kB / 3.559 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.3389/7.733, allocations: 34.65 MB / 3.593 GB, free: 89.41 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