Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources") translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources") [: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.001227/0.001227, 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.564/1.564, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 93.75 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2532/0.2532, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.618e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.479/6.623, allocations: 3.546 GB / 4.049 GB, free: 23.37 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/6.624, allocations: 79.95 kB / 4.05 GB, free: 23.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.345/12.97, allocations: 1.388 GB / 5.438 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0005194/12.97, allocations: 61.47 kB / 5.438 GB, free: 33.75 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.04195/13.01, allocations: 6.91 MB / 5.445 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/13.01, allocations: 13.06 kB / 5.445 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/13.01, allocations: 280.6 kB / 5.445 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/13.02, allocations: 1.453 MB / 5.447 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/13.02, allocations: 66.02 kB / 5.447 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/13.02, allocations: 109.9 kB / 5.447 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00836/13.03, allocations: 2.903 MB / 5.45 GB, free: 29.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/13.04, allocations: 2.678 MB / 5.452 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.621e-05/13.04, allocations: 3 kB / 5.452 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008412/13.04, allocations: 8.875 kB / 5.452 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002498/13.04, allocations: 173.6 kB / 5.452 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03049/13.07, allocations: 11.83 MB / 5.464 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/13.08, allocations: 1.986 MB / 5.466 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/13.08, allocations: 0.9131 MB / 5.467 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002254/13.08, allocations: 2.471 MB / 5.469 GB, free: 21.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.207e-05/13.08, allocations: 57.84 kB / 5.469 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=145): time 4.338e-06/13.08, allocations: 0 / 5.469 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=145): time 0.008506/13.09, allocations: 2.453 MB / 5.472 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/13.09, allocations: 197.4 kB / 5.472 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/13.09, allocations: 1.152 MB / 5.473 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004475/13.09, allocations: 28.95 kB / 5.473 GB, free: 20.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007276/13.09, allocations: 0.7592 MB / 5.474 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006615/13.09, allocations: 496.5 kB / 5.474 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/13.09, allocations: 5.438 kB / 5.474 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001839/13.09, allocations: 380.8 kB / 5.474 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/13.1, allocations: 1.016 MB / 5.475 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/13.1, allocations: 1.375 MB / 5.477 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009553/13.11, allocations: 2.327 MB / 5.479 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.437e-05/13.11, allocations: 2.969 kB / 5.479 GB, free: 19.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01596/13.12, allocations: 4.038 MB / 5.483 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/13.13, allocations: 3.588 MB / 5.487 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/13.13, allocations: 9.5 kB / 5.487 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/13.13, allocations: 395.5 kB / 5.487 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00253/13.13, allocations: 439.6 kB / 5.487 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/13.13, allocations: 1.974 MB / 5.489 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/13.14, allocations: 218.8 kB / 5.489 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007215/13.14, allocations: 129.8 kB / 5.49 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/13.14, allocations: 3.375 kB / 5.49 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/13.15, allocations: 3.574 MB / 5.493 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.736e-05/13.15, allocations: 7.625 kB / 5.493 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007168/13.15, allocations: 213.2 kB / 5.493 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/13.15, allocations: 0.4905 MB / 5.494 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/13.16, allocations: 1.494 MB / 5.495 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/13.16, allocations: 173.8 kB / 5.495 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000642/13.16, allocations: 125.3 kB / 5.496 GB, free: 12.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 12,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001162/13.16, allocations: 150.3 kB / 5.496 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009427/13.16, allocations: 171.2 kB / 5.496 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/13.17, allocations: 4.032 MB / 5.5 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/13.17, allocations: 14.81 kB / 5.5 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/13.17, allocations: 0 / 5.5 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/13.17, allocations: 8.344 kB / 5.5 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/13.19, allocations: 6.629 MB / 5.506 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-05/13.19, allocations: 7.844 kB / 5.506 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/13.19, allocations: 288 kB / 5.507 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/13.19, allocations: 393.7 kB / 5.507 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002335/13.19, allocations: 38.55 kB / 5.507 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/13.19, allocations: 2.019 MB / 5.509 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/13.19, allocations: 15.11 kB / 5.509 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009083/13.2, allocations: 3.393 MB / 5.512 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/13.2, allocations: 331.1 kB / 5.513 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/13.21, allocations: 13.41 kB / 5.513 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/13.21, allocations: 89.42 kB / 5.513 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003682/13.21, allocations: 120 kB / 5.513 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005237/13.21, allocations: 108.7 kB / 5.513 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.002325/13.21, allocations: 0.9088 MB / 5.514 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01445/13.23, allocations: 2.836 MB / 5.517 GB, free: 23.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01496/13.24, allocations: 4.064 MB / 5.521 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01009/13.25, allocations: 4.002 MB / 5.524 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-05/13.25, allocations: 8.422 kB / 5.524 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/13.25, allocations: 1.065 MB / 5.525 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005567/13.26, allocations: 0.7381 MB / 5.526 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/13.27, allocations: 3.34 MB / 5.529 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/13.27, allocations: 1.905 MB / 5.531 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.482e-06/13.27, allocations: 1.812 kB / 5.531 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.6305/13.9, allocations: 89.74 MB / 5.619 GB, free: 98.82 MB / 0.6355 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sources/TestSources/TestSources.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sources.TestSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches