Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 189.8 kB / 7.804 MB, free: 2.488 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.011/1.011, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008852/0.0008854, allocations: 83.44 kB / 261.4 MB, free: 13.55 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.1458/0.1458, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.753e-06, allocations: 8 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.5399, allocations: 218.5 MB / 0.6787 GB, free: 116.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.5401, allocations: 84.02 kB / 0.6788 GB, free: 116.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.449/1.99, allocations: 0.6482 GB / 1.327 GB, free: 75.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.887e-05/1.99, allocations: 38.88 kB / 1.327 GB, free: 75.43 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004062/1.994, allocations: 1.975 MB / 1.329 GB, free: 74.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/1.994, allocations: 8.812 kB / 1.329 GB, free: 74.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/1.997, allocations: 431 kB / 1.329 GB, free: 73.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.999, allocations: 0.933 MB / 1.33 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/1.999, allocations: 25.5 kB / 1.33 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.999, allocations: 47.53 kB / 1.33 GB, free: 73.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001141/2, allocations: 0.7768 MB / 1.331 GB, free: 72.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/2.001, allocations: 1.038 MB / 1.332 GB, free: 72.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/2.001, allocations: 2.594 kB / 1.332 GB, free: 72.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/2.001, allocations: 5.031 kB / 1.332 GB, free: 72.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/2.001, allocations: 20.31 kB / 1.332 GB, free: 72.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/2.006, allocations: 5.424 MB / 1.338 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/2.007, allocations: 468.8 kB / 1.338 GB, free: 67.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/2.007, allocations: 296.8 kB / 1.338 GB, free: 66.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/2.008, allocations: 0.9655 MB / 1.339 GB, free: 65.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/2.008, allocations: 43.34 kB / 1.339 GB, free: 65.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 2.414e-06/2.008, allocations: 1.375 kB / 1.339 GB, free: 65.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.008456/2.016, allocations: 1.575 MB / 1.341 GB, free: 65.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/2.016, allocations: 194.4 kB / 1.341 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006345/2.017, allocations: 0.6061 MB / 1.342 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/2.017, allocations: 27.2 kB / 1.342 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/2.017, allocations: 400 kB / 1.342 GB, free: 64.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/2.017, allocations: 220.1 kB / 1.342 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/2.018, allocations: 0 / 1.342 GB, free: 63.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/2.018, allocations: 337.4 kB / 1.342 GB, free: 63.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/2.018, allocations: 293.9 kB / 1.343 GB, free: 63.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/2.019, allocations: 493 kB / 1.343 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009032/2.028, allocations: 1.7 MB / 1.345 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.028, allocations: 0 / 1.345 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.009924/2.038, allocations: 2.383 MB / 1.347 GB, free: 59.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002394/2.038, allocations: 1.834 MB / 1.349 GB, free: 57.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/2.038, allocations: 4 kB / 1.349 GB, free: 57.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/2.04, allocations: 461.5 kB / 1.349 GB, free: 56.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/2.041, allocations: 301.2 kB / 1.35 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/2.044, allocations: 1.035 MB / 1.351 GB, free: 55.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/2.045, allocations: 127.7 kB / 1.351 GB, free: 55.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/2.045, allocations: 167.9 kB / 1.351 GB, free: 55.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-06/2.045, allocations: 4 kB / 1.351 GB, free: 55.22 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007019/2.052, allocations: 1.904 MB / 1.353 GB, free: 53.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/2.052, allocations: 7.984 kB / 1.353 GB, free: 53.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002495/2.052, allocations: 77.44 kB / 1.353 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/2.053, allocations: 304.4 kB / 1.353 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/2.054, allocations: 1.581 MB / 1.355 GB, free: 51.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007224/2.055, allocations: 106.3 kB / 1.355 GB, free: 51.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/2.055, allocations: 128 kB / 1.355 GB, free: 51.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001947/2.055, allocations: 130.8 kB / 1.355 GB, free: 50.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/2.055, allocations: 109.8 kB / 1.355 GB, free: 50.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009596/2.065, allocations: 4.778 MB / 1.36 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/2.065, allocations: 31.98 kB / 1.36 GB, free: 46.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/2.065, allocations: 0 / 1.36 GB, free: 46.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/2.065, allocations: 7.969 kB / 1.36 GB, free: 46.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/2.066, allocations: 0.9426 MB / 1.361 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/2.066, allocations: 0 / 1.361 GB, free: 45.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/2.067, allocations: 171.8 kB / 1.361 GB, free: 45.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/2.068, allocations: 307.4 kB / 1.361 GB, free: 44.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/2.068, allocations: 35.97 kB / 1.361 GB, free: 44.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/2.069, allocations: 1.002 MB / 1.362 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.069, allocations: 4 kB / 1.362 GB, free: 43.73 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003473/2.072, allocations: 1.707 MB / 1.364 GB, free: 42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/2.073, allocations: 371.2 kB / 1.364 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/2.073, allocations: 0 / 1.364 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/2.074, allocations: 75.86 kB / 1.364 GB, free: 41.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/2.074, allocations: 72.91 kB / 1.365 GB, free: 41.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/2.074, allocations: 99.95 kB / 1.365 GB, free: 41.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004298/2.074, allocations: 0.5004 MB / 1.365 GB, free: 40.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002839/2.077, allocations: 1.219 MB / 1.366 GB, free: 39.64 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 65 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002526/2.08, allocations: 1.101 MB / 1.367 GB, free: 38.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001872/2.082, allocations: 1.514 MB / 1.369 GB, free: 37.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/2.082, allocations: 0 / 1.369 GB, free: 37.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007377/2.082, allocations: 0.5831 MB / 1.369 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/2.084, allocations: 421.8 kB / 1.37 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/2.087, allocations: 1.771 MB / 1.372 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/2.088, allocations: 1.455 MB / 1.373 GB, free: 32.83 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/2.088, allocations: 0 / 1.373 GB, free: 32.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.04352/2.132, allocations: 38.16 MB / 1.41 GB, free: 11.06 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValvesIncompressibleReverse/TestValvesIncompressibleReverse.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches