Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") [: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.001006/0.001006, allocations: 178.9 kB / 7.802 MB, free: 1.211 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 205.2 MB / 213.4 MB, free: 8.516 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 90.95 kB / 261.4 MB, free: 5.09 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1595/0.1595, allocations: 43.49 MB / 352.8 MB, free: 11.34 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.464e-06, allocations: 4 kB / 417.7 MB, free: 68.2 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07638/0.0764, allocations: 58.84 MB / 476.6 MB, free: 9.293 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.645/3.722, allocations: 2.771 GB / 3.236 GB, free: 80.71 MB / 0.5027 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/3.722, allocations: 85.5 kB / 3.236 GB, free: 80.63 MB / 0.5027 GB Notification: Performance of FrontEnd: time 0.6167/4.339, allocations: 233.6 MB / 3.464 GB, free: 50.97 MB / 0.5027 GB Notification: Performance of Transformations before backend: time 3.134e-05/4.339, allocations: 8 kB / 3.464 GB, free: 50.96 MB / 0.5027 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.004228/4.343, allocations: 1.293 MB / 3.466 GB, free: 49.63 MB / 0.5027 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/4.343, allocations: 8.031 kB / 3.466 GB, free: 49.62 MB / 0.5027 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/4.345, allocations: 271.2 kB / 3.466 GB, free: 49.36 MB / 0.5027 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/4.346, allocations: 418.9 kB / 3.466 GB, free: 48.92 MB / 0.5027 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/4.346, allocations: 12 kB / 3.466 GB, free: 48.91 MB / 0.5027 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/4.346, allocations: 20 kB / 3.466 GB, free: 48.89 MB / 0.5027 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005173/4.346, allocations: 349.2 kB / 3.467 GB, free: 48.54 MB / 0.5027 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/4.347, allocations: 416.3 kB / 3.467 GB, free: 48.09 MB / 0.5027 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/4.347, allocations: 15.78 kB / 3.467 GB, free: 48.08 MB / 0.5027 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/4.347, allocations: 4 kB / 3.467 GB, free: 48.07 MB / 0.5027 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/4.347, allocations: 8 kB / 3.467 GB, free: 48.07 MB / 0.5027 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/4.363, allocations: 10.18 MB / 3.477 GB, free: 36.8 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/4.364, allocations: 282.8 kB / 3.477 GB, free: 36.52 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/4.364, allocations: 136.9 kB / 3.477 GB, free: 36.38 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03975/4.404, allocations: 24.09 MB / 3.501 GB, free: 9.406 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/4.404, allocations: 38.47 kB / 3.501 GB, free: 9.359 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=27): time 2.355e-06/4.404, allocations: 0 / 3.501 GB, free: 9.359 MB / 0.5027 GB Notification: Performance of matching and sorting (n=27): time 0.001881/4.406, allocations: 0.5695 MB / 3.502 GB, free: 8.785 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/4.406, allocations: 106.8 kB / 3.502 GB, free: 8.656 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/4.406, allocations: 281.9 kB / 3.502 GB, free: 8.375 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/4.406, allocations: 25.7 kB / 3.502 GB, free: 8.344 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/4.406, allocations: 195.8 kB / 3.502 GB, free: 8.148 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/4.406, allocations: 86.75 kB / 3.502 GB, free: 8.062 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/4.407, allocations: 4 kB / 3.502 GB, free: 8.059 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/4.407, allocations: 350.7 kB / 3.503 GB, free: 7.707 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/4.407, allocations: 123.9 kB / 3.503 GB, free: 7.586 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/4.407, allocations: 243.6 kB / 3.503 GB, free: 7.293 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/4.408, allocations: 251.8 kB / 3.503 GB, free: 7.047 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/4.408, allocations: 4 kB / 3.503 GB, free: 7.043 MB / 0.5027 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001667/4.41, allocations: 0.6645 MB / 3.504 GB, free: 6.371 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/4.41, allocations: 1.393 MB / 3.505 GB, free: 4.875 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/4.41, allocations: 7.938 kB / 3.505 GB, free: 4.867 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/4.41, allocations: 4 kB / 3.505 GB, free: 4.863 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/4.41, allocations: 115.8 kB / 3.505 GB, free: 4.75 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/4.41, allocations: 8 kB / 3.505 GB, free: 4.742 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/4.411, allocations: 75.55 kB / 3.505 GB, free: 4.668 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/4.411, allocations: 23.98 kB / 3.505 GB, free: 4.645 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-06/4.411, allocations: 4 kB / 3.505 GB, free: 4.641 MB / 0.5027 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009563/4.412, allocations: 400.2 kB / 3.506 GB, free: 4.25 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/4.412, allocations: 4 kB / 3.506 GB, free: 4.246 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/4.412, allocations: 12.03 kB / 3.506 GB, free: 4.234 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/4.412, allocations: 111.8 kB / 3.506 GB, free: 4.125 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/4.412, allocations: 4 kB / 3.506 GB, free: 4.121 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/4.412, allocations: 63.64 kB / 3.506 GB, free: 4.059 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/4.412, allocations: 24 kB / 3.506 GB, free: 4.035 MB / 0.5027 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 () * 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 8.057e-05/4.412, allocations: 116.8 kB / 3.506 GB, free: 3.914 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/4.413, allocations: 191.4 kB / 3.506 GB, free: 3.727 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/4.415, allocations: 1.784 MB / 3.508 GB, free: 1.93 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/4.415, allocations: 23.97 kB / 3.508 GB, free: 1.906 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/4.415, allocations: 0 / 3.508 GB, free: 1.906 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/4.415, allocations: 4 kB / 3.508 GB, free: 1.902 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1424/4.557, allocations: 2.345 MB / 3.51 GB, free: 131.1 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/4.557, allocations: 0 / 3.51 GB, free: 131.1 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/4.558, allocations: 79.83 kB / 3.51 GB, free: 131.1 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/4.558, allocations: 3.125 kB / 3.51 GB, free: 131.1 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/4.558, allocations: 10.19 kB / 3.51 GB, free: 131.1 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/4.558, allocations: 6.75 kB / 3.51 GB, free: 131.1 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/4.558, allocations: 0 / 3.51 GB, free: 131.1 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002035/4.56, allocations: 1.464 MB / 3.512 GB, free: 130.9 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/4.56, allocations: 209.4 kB / 3.512 GB, free: 130.8 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/4.56, allocations: 3.812 kB / 3.512 GB, free: 130.8 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/4.561, allocations: 35.77 kB / 3.512 GB, free: 130.8 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/4.561, allocations: 48.67 kB / 3.512 GB, free: 130.8 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/4.561, allocations: 18.16 kB / 3.512 GB, free: 130.8 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.0002727/4.561, allocations: 265.7 kB / 3.512 GB, free: 130.7 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.004348/4.565, allocations: 1.159 MB / 3.514 GB, free: 130.7 MB / 0.5027 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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.005836/4.571, allocations: 1.549 MB / 3.515 GB, free: 130.6 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.001198/4.572, allocations: 0.9458 MB / 3.516 GB, free: 130.6 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/4.572, allocations: 3.062 kB / 3.516 GB, free: 130.6 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.000555/4.573, allocations: 0.6988 MB / 3.517 GB, free: 130.6 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/4.574, allocations: 167.7 kB / 3.517 GB, free: 130.6 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/4.576, allocations: 1.174 MB / 3.518 GB, free: 130.3 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/4.576, allocations: 1.002 MB / 3.519 GB, free: 129.6 MB / 0.5027 GB Notification: Performance of SimCode: time 3.31e-07/4.576, allocations: 3.75 kB / 3.519 GB, free: 129.6 MB / 0.5027 GB Notification: Performance of Templates: time 0.03852/4.615, allocations: 34.91 MB / 3.553 GB, free: 129.1 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches