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.0009036/0.0009036, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007725/0.0007725, allocations: 86.62 kB / 261.8 MB, free: 1.621 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.1843/0.1843, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.614e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.997/6.103, allocations: 2.753 GB / 3.219 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/6.103, allocations: 83.23 kB / 3.219 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/7.156, allocations: 214 MB / 3.428 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.474e-06/7.157, allocations: 1.75 kB / 3.428 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.635e-05/7.157, allocations: 9.75 kB / 3.428 GB, free: 86.78 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.005272/7.162, allocations: 1.187 MB / 3.429 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/7.162, allocations: 8.906 kB / 3.429 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/7.164, allocations: 220.6 kB / 3.43 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/7.164, allocations: 369 kB / 3.43 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/7.164, allocations: 11.34 kB / 3.43 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/7.164, allocations: 19.47 kB / 3.43 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000514/7.165, allocations: 300.5 kB / 3.43 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/7.165, allocations: 382.5 kB / 3.431 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/7.165, allocations: 2.766 kB / 3.431 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/7.165, allocations: 5.031 kB / 3.431 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/7.165, allocations: 11.42 kB / 3.431 GB, free: 85.9 MB / 0.4948 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.01852/7.184, allocations: 10.14 MB / 3.441 GB, free: 79.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/7.184, allocations: 244.3 kB / 3.441 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/7.185, allocations: 120.6 kB / 3.441 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04006/7.225, allocations: 24.14 MB / 3.465 GB, free: 64.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/7.225, allocations: 35.09 kB / 3.465 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=24): time 3.126e-06/7.225, allocations: 3.047 kB / 3.465 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.001846/7.227, allocations: 0.5139 MB / 3.465 GB, free: 64.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/7.227, allocations: 108.6 kB / 3.465 GB, free: 64.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/7.227, allocations: 227.3 kB / 3.465 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/7.227, allocations: 29.67 kB / 3.465 GB, free: 64.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/7.227, allocations: 213.6 kB / 3.466 GB, free: 64.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/7.227, allocations: 88.11 kB / 3.466 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/7.227, allocations: 0 / 3.466 GB, free: 64.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/7.227, allocations: 334 kB / 3.466 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/7.227, allocations: 82.89 kB / 3.466 GB, free: 64.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/7.227, allocations: 186.6 kB / 3.466 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/7.228, allocations: 158.9 kB / 3.466 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/7.228, allocations: 3.875 kB / 3.466 GB, free: 63.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008032/7.229, allocations: 354.1 kB / 3.467 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/7.229, allocations: 3.062 kB / 3.467 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/7.229, allocations: 7.703 kB / 3.467 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/7.229, allocations: 7.469 kB / 3.467 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/7.229, allocations: 99.98 kB / 3.467 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/7.229, allocations: 3.344 kB / 3.467 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/7.23, allocations: 62.02 kB / 3.467 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/7.23, allocations: 13.28 kB / 3.467 GB, free: 63.89 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 () * 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 9.12e-05/7.23, allocations: 115.4 kB / 3.467 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/7.23, allocations: 37.91 kB / 3.467 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/7.232, allocations: 1.625 MB / 3.469 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/7.232, allocations: 30.42 kB / 3.469 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/7.232, allocations: 0 / 3.469 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/7.232, allocations: 3.844 kB / 3.469 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/7.233, allocations: 0.8346 MB / 3.47 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/7.233, allocations: 3.969 kB / 3.47 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/7.233, allocations: 93.11 kB / 3.47 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/7.233, allocations: 0 / 3.47 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/7.233, allocations: 3.156 kB / 3.47 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/7.233, allocations: 0 / 3.47 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/7.233, allocations: 0 / 3.47 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/7.234, allocations: 0.9317 MB / 3.471 GB, free: 63.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/7.234, allocations: 209.3 kB / 3.471 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/7.234, allocations: 3.969 kB / 3.471 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/7.235, allocations: 42.5 kB / 3.471 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/7.235, allocations: 38.52 kB / 3.471 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/7.235, allocations: 9.156 kB / 3.471 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002486/7.235, allocations: 295.4 kB / 3.471 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/7.235, allocations: 0 / 3.471 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005283/7.24, allocations: 0.9924 MB / 3.472 GB, free: 62.79 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * 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.005825/7.246, allocations: 1.443 MB / 3.474 GB, free: 62.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007395/7.247, allocations: 461.6 kB / 3.474 GB, free: 62.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/7.247, allocations: 1.688 kB / 3.474 GB, free: 62.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/7.247, allocations: 418.1 kB / 3.474 GB, free: 62.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009624/7.248, allocations: 161.5 kB / 3.475 GB, free: 62.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/7.25, allocations: 1.02 MB / 3.476 GB, free: 62.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/7.25, allocations: 0.9647 MB / 3.476 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003996/7.25, allocations: 257 kB / 3.477 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/7.25, allocations: 38.8 kB / 3.477 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of SimCode: time 3.21e-07/7.25, allocations: 1.031 kB / 3.477 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.03442/7.285, allocations: 27.69 MB / 3.504 GB, free: 60.2 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/jenkins/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