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.001315/0.001315, allocations: 183.2 kB / 18.09 MB, free: 3.625 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.338/1.338, allocations: 223.3 MB / 242.1 MB, free: 11.68 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000789/0.0007894, allocations: 97.27 kB / 293.3 MB, free: 10.76 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.3449/0.3449, allocations: 44.14 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3686, allocations: 61.88 MB / 0.5107 GB, free: 38.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.174/6.543, allocations: 2.777 GB / 3.288 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/6.543, allocations: 87.94 kB / 3.288 GB, free: 77.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8085/7.351, allocations: 238.8 MB / 3.521 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.816e-06/7.351, allocations: 4 kB / 3.521 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.364e-05/7.351, allocations: 15.98 kB / 3.521 GB, free: 50.62 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.005625/7.357, allocations: 1.325 MB / 3.523 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/7.357, allocations: 11.97 kB / 3.523 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/7.359, allocations: 252.1 kB / 3.523 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/7.36, allocations: 436.1 kB / 3.523 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/7.36, allocations: 29.78 kB / 3.523 GB, free: 48.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/7.36, allocations: 32 kB / 3.523 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/7.362, allocations: 0.6456 MB / 3.524 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/7.362, allocations: 0 / 3.524 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/7.362, allocations: 16 kB / 3.524 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/7.362, allocations: 8 kB / 3.524 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/7.363, allocations: 0.584 MB / 3.525 GB, free: 47.16 MB / 0.5261 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.002912/7.366, allocations: 2.719 MB / 3.527 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/7.368, allocations: 0.5545 MB / 3.528 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/7.368, allocations: 176.8 kB / 3.528 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0387/7.407, allocations: 24.08 MB / 3.551 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/7.407, allocations: 44.31 kB / 3.551 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.645e-06/7.407, allocations: 0 / 3.551 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002646/7.41, allocations: 0.8176 MB / 3.552 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/7.41, allocations: 102.8 kB / 3.552 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/7.41, allocations: 393.8 kB / 3.553 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/7.41, allocations: 33.7 kB / 3.553 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/7.411, allocations: 232 kB / 3.553 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/7.411, allocations: 94.59 kB / 3.553 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/7.411, allocations: 12 kB / 3.553 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/7.411, allocations: 350.8 kB / 3.553 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/7.411, allocations: 147.9 kB / 3.554 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/7.411, allocations: 287.2 kB / 3.554 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/7.412, allocations: 419.7 kB / 3.554 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/7.412, allocations: 0 / 3.554 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009424/7.413, allocations: 0.4891 MB / 3.555 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-05/7.413, allocations: 198.1 kB / 3.555 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/7.413, allocations: 4 kB / 3.555 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/7.413, allocations: 4 kB / 3.555 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/7.414, allocations: 111.8 kB / 3.555 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/7.414, allocations: 8 kB / 3.555 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/7.414, allocations: 79.48 kB / 3.555 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/7.414, allocations: 20 kB / 3.555 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/7.414, allocations: 7.984 kB / 3.555 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007853/7.415, allocations: 419.8 kB / 3.556 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/7.415, allocations: 7.938 kB / 3.556 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.84e-06/7.415, allocations: 4 kB / 3.556 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/7.415, allocations: 107.8 kB / 3.556 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/7.415, allocations: 7.938 kB / 3.556 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/7.416, allocations: 71.67 kB / 3.556 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/7.416, allocations: 20 kB / 3.556 GB, free: 11.84 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 () * Number of clocked 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.0002295/7.416, allocations: 241 kB / 3.556 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/7.416, allocations: 43.53 kB / 3.556 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/7.418, allocations: 1.967 MB / 3.558 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/7.418, allocations: 31.95 kB / 3.558 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/7.418, allocations: 0 / 3.558 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/7.418, allocations: 3.984 kB / 3.558 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009033/7.419, allocations: 1.043 MB / 3.559 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/7.419, allocations: 0 / 3.559 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/7.419, allocations: 91.86 kB / 3.559 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/7.419, allocations: 4 kB / 3.559 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/7.419, allocations: 15.94 kB / 3.559 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/7.419, allocations: 4 kB / 3.559 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/7.419, allocations: 0 / 3.559 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/7.421, allocations: 1.105 MB / 3.56 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/7.421, allocations: 271.3 kB / 3.56 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/7.421, allocations: 7.938 kB / 3.56 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/7.421, allocations: 39.97 kB / 3.56 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/7.421, allocations: 43.81 kB / 3.561 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/7.421, allocations: 12 kB / 3.561 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003808/7.422, allocations: 390.8 kB / 3.561 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/7.422, allocations: 0 / 3.561 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005116/7.427, allocations: 1.159 MB / 3.562 GB, free: 5.281 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 () * Number of clocked 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.007845/7.435, allocations: 1.441 MB / 3.563 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001601/7.436, allocations: 0.8473 MB / 3.564 GB, free: 3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/7.436, allocations: 0 / 3.564 GB, free: 3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005961/7.437, allocations: 0.5216 MB / 3.565 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/7.438, allocations: 224.6 kB / 3.565 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/7.441, allocations: 1.998 MB / 3.567 GB, free: 236 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2855/7.726, allocations: 0.9854 MB / 3.568 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001331/7.727, allocations: 0.54 MB / 3.568 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/7.728, allocations: 47.41 kB / 3.568 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/7.728, allocations: 0.5 kB / 3.568 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.05287/7.78, allocations: 35.06 MB / 3.603 GB, free: 76.16 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/jenkins1/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