Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001778/0.001778, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.353/1.353, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007471/0.000747, allocations: 85.36 kB / 271.9 MB, free: 8.266 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.3409/0.3409, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 16 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1278, allocations: 58.86 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.16/6.288, allocations: 2.772 GB / 3.252 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/6.288, allocations: 84.45 kB / 3.252 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7119/7, allocations: 236.3 MB / 3.483 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.665e-06/7, allocations: 0 / 3.483 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.536e-05/7, allocations: 7.625 kB / 3.483 GB, free: 48.5 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005071/7.005, allocations: 1.33 MB / 3.484 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/7.005, allocations: 13.06 kB / 3.484 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/7.007, allocations: 254.2 kB / 3.484 GB, free: 47.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/7.008, allocations: 434.9 kB / 3.485 GB, free: 47.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/7.008, allocations: 29.47 kB / 3.485 GB, free: 47.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/7.008, allocations: 35.44 kB / 3.485 GB, free: 47.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/7.01, allocations: 0.6373 MB / 3.486 GB, free: 46.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/7.01, allocations: 0 / 3.486 GB, free: 46.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.295e-05/7.01, allocations: 15.81 kB / 3.486 GB, free: 46.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/7.01, allocations: 11.06 kB / 3.486 GB, free: 46.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/7.011, allocations: 0.5834 MB / 3.486 GB, free: 46.82 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.002918/7.014, allocations: 2.721 MB / 3.489 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/7.016, allocations: 0.547 MB / 3.489 GB, free: 44.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/7.016, allocations: 188.2 kB / 3.49 GB, free: 44.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03875/7.055, allocations: 24.07 MB / 3.513 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/7.055, allocations: 38.5 kB / 3.513 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.946e-06/7.055, allocations: 0 / 3.513 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.002739/7.058, allocations: 0.8205 MB / 3.514 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/7.058, allocations: 102.8 kB / 3.514 GB, free: 21.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/7.059, allocations: 389.9 kB / 3.514 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/7.059, allocations: 33.7 kB / 3.514 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/7.059, allocations: 224.1 kB / 3.515 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/7.059, allocations: 102.5 kB / 3.515 GB, free: 20.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/7.059, allocations: 15.94 kB / 3.515 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/7.059, allocations: 350.7 kB / 3.515 GB, free: 19.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/7.059, allocations: 151.9 kB / 3.515 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/7.06, allocations: 275.2 kB / 3.515 GB, free: 19.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/7.061, allocations: 435.1 kB / 3.516 GB, free: 19.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/7.061, allocations: 0 / 3.516 GB, free: 19.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009925/7.062, allocations: 492.9 kB / 3.516 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/7.062, allocations: 198.1 kB / 3.517 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/7.062, allocations: 4 kB / 3.517 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/7.062, allocations: 4 kB / 3.517 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/7.062, allocations: 111.8 kB / 3.517 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/7.062, allocations: 8 kB / 3.517 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/7.063, allocations: 71.56 kB / 3.517 GB, free: 18.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/7.063, allocations: 23.98 kB / 3.517 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/7.063, allocations: 4 kB / 3.517 GB, free: 18.07 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008312/7.064, allocations: 423.9 kB / 3.517 GB, free: 17.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/7.064, allocations: 4 kB / 3.517 GB, free: 17.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-06/7.064, allocations: 8 kB / 3.517 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/7.064, allocations: 116 kB / 3.517 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/7.064, allocations: 8 kB / 3.517 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/7.064, allocations: 67.5 kB / 3.517 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/7.064, allocations: 23.98 kB / 3.517 GB, free: 17.43 MB / 0.4948 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.0002388/7.065, allocations: 245 kB / 3.518 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/7.065, allocations: 47.45 kB / 3.518 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/7.067, allocations: 1.955 MB / 3.52 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/7.067, allocations: 35.92 kB / 3.52 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/7.067, allocations: 0 / 3.52 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/7.067, allocations: 0 / 3.52 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009297/7.068, allocations: 1.043 MB / 3.521 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/7.068, allocations: 0 / 3.521 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/7.068, allocations: 91.88 kB / 3.521 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/7.068, allocations: 0 / 3.521 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/7.068, allocations: 11.94 kB / 3.521 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/7.068, allocations: 7.984 kB / 3.521 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/7.068, allocations: 0 / 3.521 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/7.069, allocations: 1.109 MB / 3.522 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/7.07, allocations: 279.2 kB / 3.522 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-05/7.07, allocations: 7.938 kB / 3.522 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/7.07, allocations: 39.97 kB / 3.522 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/7.07, allocations: 39.89 kB / 3.522 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/7.07, allocations: 15.98 kB / 3.522 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003923/7.071, allocations: 382.8 kB / 3.523 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/7.071, allocations: 0 / 3.523 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004827/7.075, allocations: 1.167 MB / 3.524 GB, free: 10.88 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,$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.008064/7.083, allocations: 1.42 MB / 3.525 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001773/7.085, allocations: 0.8505 MB / 3.526 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/7.085, allocations: 0 / 3.526 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/7.086, allocations: 0.5216 MB / 3.526 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/7.087, allocations: 232.3 kB / 3.527 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/7.09, allocations: 2.037 MB / 3.529 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/7.09, allocations: 0.9876 MB / 3.53 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/7.09, allocations: 47.42 kB / 3.53 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/7.09, allocations: 0 / 3.53 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.2869/7.377, allocations: 25.11 MB / 3.554 GB, free: 78.24 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveCompressible/TestValveCompressible.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches