Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009534/0.0009535, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008394/0.0008393, allocations: 90.31 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3379/0.3379, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 12 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 58.83 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.325/6.453, allocations: 2.754 GB / 3.234 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/6.453, allocations: 85.73 kB / 3.234 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6974/7.151, allocations: 217.3 MB / 3.447 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.736e-06/7.151, allocations: 3.938 kB / 3.447 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.972e-05/7.151, allocations: 9.5 kB / 3.447 GB, free: 59.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005059/7.156, allocations: 1.217 MB / 3.448 GB, free: 58.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/7.156, allocations: 11.88 kB / 3.448 GB, free: 58.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/7.158, allocations: 222.7 kB / 3.448 GB, free: 58.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/7.158, allocations: 380.5 kB / 3.448 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.03e-05/7.159, allocations: 30.08 kB / 3.448 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.597e-05/7.159, allocations: 31.34 kB / 3.448 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/7.16, allocations: 0.6082 MB / 3.449 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/7.16, allocations: 7.875 kB / 3.449 GB, free: 58.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/7.16, allocations: 19.22 kB / 3.449 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/7.16, allocations: 7.281 kB / 3.449 GB, free: 58.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/7.162, allocations: 0.5887 MB / 3.45 GB, free: 57.94 MB / 0.4948 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.002986/7.165, allocations: 2.607 MB / 3.452 GB, free: 55.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/7.166, allocations: 479.2 kB / 3.453 GB, free: 55.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/7.167, allocations: 198.7 kB / 3.453 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03958/7.206, allocations: 24.08 MB / 3.476 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/7.206, allocations: 37.81 kB / 3.476 GB, free: 40.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/7.206, allocations: 0 / 3.476 GB, free: 40.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.002855/7.209, allocations: 0.8498 MB / 3.477 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/7.209, allocations: 106.6 kB / 3.477 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/7.21, allocations: 319.2 kB / 3.478 GB, free: 39.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/7.21, allocations: 29.7 kB / 3.478 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/7.21, allocations: 204.6 kB / 3.478 GB, free: 39.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.796e-05/7.21, allocations: 88.47 kB / 3.478 GB, free: 39.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/7.21, allocations: 4 kB / 3.478 GB, free: 39.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/7.21, allocations: 340.8 kB / 3.478 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/7.21, allocations: 154.1 kB / 3.478 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/7.211, allocations: 250.8 kB / 3.479 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008162/7.212, allocations: 402.7 kB / 3.479 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/7.212, allocations: 0 / 3.479 GB, free: 38.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000939/7.212, allocations: 467.4 kB / 3.48 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/7.213, allocations: 3.938 kB / 3.48 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/7.213, allocations: 3.969 kB / 3.48 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/7.213, allocations: 3.969 kB / 3.48 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/7.213, allocations: 103.3 kB / 3.48 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/7.213, allocations: 7.781 kB / 3.48 GB, free: 38.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/7.213, allocations: 78.58 kB / 3.48 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/7.213, allocations: 10.47 kB / 3.48 GB, free: 38.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001935/7.214, allocations: 154.6 kB / 3.48 GB, free: 38.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/7.214, allocations: 35.16 kB / 3.48 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/7.216, allocations: 1.952 MB / 3.482 GB, free: 37.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/7.216, allocations: 30.36 kB / 3.482 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/7.216, allocations: 3.938 kB / 3.482 GB, free: 37.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/7.216, allocations: 3.219 kB / 3.482 GB, free: 37.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/7.217, allocations: 1.005 MB / 3.483 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/7.217, allocations: 0 / 3.483 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/7.217, allocations: 93.06 kB / 3.483 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/7.217, allocations: 3.75 kB / 3.483 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/7.217, allocations: 4 kB / 3.483 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/7.217, allocations: 7.953 kB / 3.483 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/7.217, allocations: 3.938 kB / 3.483 GB, free: 36.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/7.218, allocations: 1.112 MB / 3.484 GB, free: 36.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/7.219, allocations: 220.1 kB / 3.484 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/7.219, allocations: 4 kB / 3.484 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/7.219, allocations: 53.2 kB / 3.484 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/7.219, allocations: 43.66 kB / 3.484 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/7.219, allocations: 9.312 kB / 3.484 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003188/7.22, allocations: 323.9 kB / 3.485 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/7.22, allocations: 0 / 3.485 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004778/7.224, allocations: 1.013 MB / 3.486 GB, free: 35.52 MB / 0.4948 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * 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.007857/7.232, allocations: 1.378 MB / 3.487 GB, free: 35.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001293/7.234, allocations: 0.6245 MB / 3.488 GB, free: 34.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/7.234, allocations: 0 / 3.488 GB, free: 34.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006811/7.234, allocations: 0.5256 MB / 3.488 GB, free: 34.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/7.236, allocations: 200.1 kB / 3.488 GB, free: 34.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/7.238, allocations: 1.869 MB / 3.49 GB, free: 33.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/7.238, allocations: 0.9646 MB / 3.491 GB, free: 32.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004939/7.239, allocations: 243.3 kB / 3.491 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/7.239, allocations: 40.94 kB / 3.491 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/7.239, allocations: 3.938 kB / 3.491 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.04591/7.285, allocations: 33.59 MB / 3.524 GB, free: 8.77 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches