Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") [: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 trunk/package.mo): time 0.001945/0.001945, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009103/0.0009103, allocations: 90.86 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.783e-06/6.793e-06, allocations: 4 kB / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 63.25 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.611/6.738, allocations: 2.806 GB / 3.31 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/6.739, allocations: 83.67 kB / 3.31 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.8965/7.635, allocations: 236.1 MB / 3.54 GB, free: 79.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.389e-05/7.635, allocations: 8.844 kB / 3.54 GB, free: 79.27 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00637/7.642, allocations: 1.328 MB / 3.542 GB, free: 78.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/7.642, allocations: 8.969 kB / 3.542 GB, free: 78.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/7.644, allocations: 275.4 kB / 3.542 GB, free: 78.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/7.645, allocations: 416.1 kB / 3.542 GB, free: 78.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/7.645, allocations: 16.38 kB / 3.542 GB, free: 78.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/7.645, allocations: 23.42 kB / 3.542 GB, free: 78.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007511/7.646, allocations: 357.6 kB / 3.543 GB, free: 77.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/7.647, allocations: 419.9 kB / 3.543 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/7.647, allocations: 4 kB / 3.543 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/7.647, allocations: 2.281 kB / 3.543 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/7.647, allocations: 9.781 kB / 3.543 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/7.667, allocations: 11.02 MB / 3.554 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/7.667, allocations: 238.1 kB / 3.554 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/7.667, allocations: 136.5 kB / 3.554 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04757/7.715, allocations: 27.31 MB / 3.581 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/7.715, allocations: 42.41 kB / 3.581 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/7.715, allocations: 4 kB / 3.581 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.002309/7.717, allocations: 0.5405 MB / 3.581 GB, free: 38.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/7.717, allocations: 110.8 kB / 3.582 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/7.718, allocations: 262 kB / 3.582 GB, free: 37.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/7.718, allocations: 29.69 kB / 3.582 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/7.718, allocations: 203.7 kB / 3.582 GB, free: 37.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/7.718, allocations: 82.75 kB / 3.582 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/7.718, allocations: 0 / 3.582 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/7.718, allocations: 346.8 kB / 3.582 GB, free: 37.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/7.718, allocations: 116.6 kB / 3.583 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/7.719, allocations: 225.8 kB / 3.583 GB, free: 36.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/7.719, allocations: 232.9 kB / 3.583 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/7.719, allocations: 0 / 3.583 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001759/7.721, allocations: 0.6376 MB / 3.584 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/7.721, allocations: 1.047 MB / 3.585 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/7.722, allocations: 4 kB / 3.585 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/7.722, allocations: 4 kB / 3.585 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/7.722, allocations: 123.8 kB / 3.585 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/7.722, allocations: 7.984 kB / 3.585 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/7.723, allocations: 79.64 kB / 3.585 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/7.723, allocations: 27.92 kB / 3.585 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/7.723, allocations: 11.06 kB / 3.585 GB, free: 34.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/7.724, allocations: 375.6 kB / 3.585 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/7.724, allocations: 8 kB / 3.585 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/7.724, allocations: 4 kB / 3.585 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/7.724, allocations: 120.1 kB / 3.585 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/7.724, allocations: 11.92 kB / 3.585 GB, free: 34.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/7.725, allocations: 71.7 kB / 3.585 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/7.725, allocations: 23.98 kB / 3.585 GB, free: 33.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001261/7.725, allocations: 108.9 kB / 3.586 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/7.725, allocations: 191.3 kB / 3.586 GB, free: 33.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/7.727, allocations: 1.742 MB / 3.587 GB, free: 31.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/7.728, allocations: 19.97 kB / 3.587 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/7.728, allocations: 0 / 3.587 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/7.728, allocations: 11.89 kB / 3.587 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/7.73, allocations: 2.476 MB / 3.59 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/7.73, allocations: 3.938 kB / 3.59 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/7.731, allocations: 96 kB / 3.59 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/7.731, allocations: 7.906 kB / 3.59 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/7.731, allocations: 7.984 kB / 3.59 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/7.731, allocations: 0 / 3.59 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/7.731, allocations: 8 kB / 3.59 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001917/7.733, allocations: 1.48 MB / 3.591 GB, free: 27.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/7.733, allocations: 212.1 kB / 3.592 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/7.733, allocations: 7.984 kB / 3.592 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/7.734, allocations: 59.8 kB / 3.592 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/7.734, allocations: 35.94 kB / 3.592 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/7.734, allocations: 23.98 kB / 3.592 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0002677/7.734, allocations: 259.2 kB / 3.592 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005958/7.74, allocations: 1.17 MB / 3.593 GB, free: 25.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.009091/7.749, allocations: 1.577 MB / 3.595 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00144/7.751, allocations: 0.9194 MB / 3.596 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/7.751, allocations: 0 / 3.596 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005938/7.751, allocations: 0.7012 MB / 3.596 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/7.752, allocations: 180.1 kB / 3.596 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/7.755, allocations: 1.175 MB / 3.598 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005028/7.755, allocations: 0.9943 MB / 3.599 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2.054e-06/7.755, allocations: 0 / 3.599 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.3562/8.111, allocations: 35.16 MB / 3.633 GB, free: 138.1 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches