Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") [: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.000928/0.0009281, allocations: 192.5 kB / 7.801 MB, free: 2.496 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.033/1.033, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.000811/0.0008109, allocations: 88.61 kB / 261.4 MB, free: 13.52 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.1543/0.1543, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.013e-06/7.033e-06, allocations: 4.219 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.347, allocations: 0.7913 GB / 1.257 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.347, allocations: 83.95 kB / 1.257 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.897/4.244, allocations: 1.143 GB / 2.4 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001282/4.244, allocations: 35.98 kB / 2.4 GB, free: 1.297 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.1951/4.44, allocations: 2.471 MB / 2.402 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/4.44, allocations: 8.125 kB / 2.402 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004268/4.444, allocations: 471 kB / 2.403 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/4.447, allocations: 1.196 MB / 2.404 GB, free: 98.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.31e-05/4.447, allocations: 37.62 kB / 2.404 GB, free: 98.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000549/4.448, allocations: 64.25 kB / 2.404 GB, free: 98.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005253/4.453, allocations: 3.561 MB / 2.407 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/4.457, allocations: 2.467 MB / 2.41 GB, free: 98.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/4.457, allocations: 6.656 kB / 2.41 GB, free: 98.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/4.457, allocations: 3.656 kB / 2.41 GB, free: 98.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/4.457, allocations: 148.5 kB / 2.41 GB, free: 98.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/4.471, allocations: 9.108 MB / 2.419 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/4.473, allocations: 1.551 MB / 2.42 GB, free: 95.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/4.474, allocations: 0.9805 MB / 2.421 GB, free: 95.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/4.476, allocations: 1.136 MB / 2.422 GB, free: 94.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/4.476, allocations: 49.08 kB / 2.422 GB, free: 94.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=74): time 2.885e-06/4.476, allocations: 0 / 2.422 GB, free: 94.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.004391/4.48, allocations: 2.485 MB / 2.425 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/4.48, allocations: 140.6 kB / 2.425 GB, free: 94.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/4.481, allocations: 0.7992 MB / 2.426 GB, free: 94.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/4.481, allocations: 29.3 kB / 2.426 GB, free: 94.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/4.482, allocations: 0.5422 MB / 2.426 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/4.482, allocations: 252.6 kB / 2.426 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/4.482, allocations: 0 / 2.426 GB, free: 93.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/4.482, allocations: 347 kB / 2.427 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/4.483, allocations: 0.9773 MB / 2.428 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/4.484, allocations: 1.153 MB / 2.429 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009292/4.494, allocations: 2.573 MB / 2.431 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/4.494, allocations: 3.688 kB / 2.431 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01225/4.506, allocations: 4.339 MB / 2.436 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000304/4.506, allocations: 1.573 MB / 2.437 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/4.506, allocations: 3.844 kB / 2.437 GB, free: 91.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01924/4.526, allocations: 3.745 MB / 2.441 GB, free: 91.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/4.527, allocations: 190.8 kB / 2.441 GB, free: 91.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/4.531, allocations: 2.792 MB / 2.444 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/4.532, allocations: 126.3 kB / 2.444 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/4.533, allocations: 80 kB / 2.444 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/4.533, allocations: 6.812 kB / 2.444 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/4.544, allocations: 3.695 MB / 2.448 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/4.544, allocations: 5.562 kB / 2.448 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000695/4.544, allocations: 150.8 kB / 2.448 GB, free: 90.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/4.546, allocations: 276.3 kB / 2.448 GB, free: 90.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/4.548, allocations: 2.043 MB / 2.45 GB, free: 89.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/4.55, allocations: 102.5 kB / 2.45 GB, free: 89.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/4.55, allocations: 80.73 kB / 2.45 GB, free: 89.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 34} Notification: Performance of prepare postOptimizeDAE: time 0.000415/4.55, allocations: 123.8 kB / 2.45 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/4.551, allocations: 109.8 kB / 2.45 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/4.556, allocations: 2.762 MB / 2.453 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/4.556, allocations: 6.688 kB / 2.453 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/4.556, allocations: 3.688 kB / 2.453 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/4.556, allocations: 3.609 kB / 2.453 GB, free: 89.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004966/4.561, allocations: 3.61 MB / 2.457 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/4.561, allocations: 3.312 kB / 2.457 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/4.561, allocations: 86.84 kB / 2.457 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009841/4.571, allocations: 2.537 MB / 2.459 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/4.571, allocations: 16.64 kB / 2.459 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/4.574, allocations: 2.351 MB / 2.461 GB, free: 88.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/4.574, allocations: 7.812 kB / 2.462 GB, free: 88.44 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003259/4.577, allocations: 2.175 MB / 2.464 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/4.578, allocations: 210.5 kB / 2.464 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003457/4.578, allocations: 2.094 kB / 2.464 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/4.58, allocations: 77.45 kB / 2.464 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/4.58, allocations: 48.84 kB / 2.464 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/4.58, allocations: 62.31 kB / 2.464 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0008419/4.581, allocations: 0.607 MB / 2.465 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007208/4.588, allocations: 1.936 MB / 2.466 GB, free: 87.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.007446/4.596, allocations: 2.824 MB / 2.469 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005022/4.601, allocations: 3.264 MB / 2.472 GB, free: 87.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/4.601, allocations: 4.312 kB / 2.472 GB, free: 87.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/4.602, allocations: 0.8259 MB / 2.473 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/4.604, allocations: 454.7 kB / 2.474 GB, free: 87.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/4.609, allocations: 2.078 MB / 2.476 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/4.61, allocations: 1.436 MB / 2.477 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/4.61, allocations: 0 / 2.477 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.0793/4.689, allocations: 66.12 MB / 2.542 GB, free: 84.78 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Pipes/IdealMixing1/IdealMixing1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches