Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 176.4 kB / 8.521 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.4 MB / 230.3 MB, free: 7.633 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 90.34 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.14 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.696e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1424, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.682/1.825, allocations: 0.7581 GB / 1.252 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.825, allocations: 82.98 kB / 1.252 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.374/5.199, allocations: 1.145 GB / 2.397 GB, free: 64.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.127e-05/5.199, allocations: 39.91 kB / 2.397 GB, free: 64.7 MB / 0.5417 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.01456/5.214, allocations: 2.932 MB / 2.4 GB, free: 63.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/5.214, allocations: 15.56 kB / 2.4 GB, free: 63.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004045/5.218, allocations: 465.6 kB / 2.401 GB, free: 63.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/5.22, allocations: 1.195 MB / 2.402 GB, free: 63.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/5.221, allocations: 42.19 kB / 2.402 GB, free: 63.01 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/5.221, allocations: 69.03 kB / 2.402 GB, free: 63 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005354/5.226, allocations: 3.571 MB / 2.405 GB, free: 62.63 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/5.23, allocations: 2.468 MB / 2.408 GB, free: 61.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/5.23, allocations: 0 / 2.408 GB, free: 61.69 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/5.23, allocations: 9.969 kB / 2.408 GB, free: 61.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/5.23, allocations: 154.2 kB / 2.408 GB, free: 61.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/5.246, allocations: 9.043 MB / 2.417 GB, free: 56.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/5.249, allocations: 1.56 MB / 2.418 GB, free: 56.47 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/5.251, allocations: 0.9793 MB / 2.419 GB, free: 55.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/5.252, allocations: 0.9281 MB / 2.42 GB, free: 54.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/5.252, allocations: 59.22 kB / 2.42 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=74): time 2.635e-06/5.252, allocations: 0 / 2.42 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.005383/5.257, allocations: 2.598 MB / 2.423 GB, free: 52.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/5.257, allocations: 137.2 kB / 2.423 GB, free: 52.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/5.258, allocations: 0.8002 MB / 2.424 GB, free: 51.81 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/5.258, allocations: 29.7 kB / 2.424 GB, free: 51.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/5.259, allocations: 0.5354 MB / 2.424 GB, free: 51.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/5.259, allocations: 256.5 kB / 2.424 GB, free: 51.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/5.259, allocations: 0 / 2.424 GB, free: 51.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.647e-05/5.259, allocations: 355.4 kB / 2.425 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/5.26, allocations: 0.9746 MB / 2.426 GB, free: 49.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/5.261, allocations: 1.152 MB / 2.427 GB, free: 48.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/5.265, allocations: 1.673 MB / 2.429 GB, free: 47.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/5.265, allocations: 10.2 kB / 2.429 GB, free: 47.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00645/5.271, allocations: 3.438 MB / 2.432 GB, free: 44.67 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003664/5.272, allocations: 1.567 MB / 2.433 GB, free: 43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/5.272, allocations: 7.906 kB / 2.433 GB, free: 42.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/5.292, allocations: 3.748 MB / 2.437 GB, free: 39.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/5.293, allocations: 195.2 kB / 2.437 GB, free: 39.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/5.297, allocations: 2.815 MB / 2.44 GB, free: 36.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/5.299, allocations: 121.8 kB / 2.44 GB, free: 36.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/5.299, allocations: 86.92 kB / 2.44 GB, free: 36.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/5.299, allocations: 6.5 kB / 2.44 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005642/5.305, allocations: 2.8 MB / 2.443 GB, free: 33.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/5.305, allocations: 4 kB / 2.443 GB, free: 33.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007084/5.306, allocations: 155.8 kB / 2.443 GB, free: 33.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/5.307, allocations: 275.6 kB / 2.443 GB, free: 32.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/5.31, allocations: 2.033 MB / 2.445 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/5.311, allocations: 107.2 kB / 2.445 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/5.312, allocations: 79.94 kB / 2.446 GB, free: 30.65 MB / 0.5417 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.0004894/5.312, allocations: 120.8 kB / 2.446 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/5.312, allocations: 106.8 kB / 2.446 GB, free: 30.42 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/5.32, allocations: 5.275 MB / 2.451 GB, free: 25.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/5.32, allocations: 8 kB / 2.451 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/5.32, allocations: 4 kB / 2.451 GB, free: 25.15 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/5.32, allocations: 3.984 kB / 2.451 GB, free: 25.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005713/5.326, allocations: 3.74 MB / 2.455 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/5.326, allocations: 0 / 2.455 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/5.326, allocations: 91.89 kB / 2.455 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009959/5.336, allocations: 2.542 MB / 2.457 GB, free: 18.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/5.337, allocations: 11.98 kB / 2.457 GB, free: 18.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/5.34, allocations: 2.372 MB / 2.459 GB, free: 16.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/5.34, allocations: 3.062 kB / 2.459 GB, free: 16.32 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003944/5.343, allocations: 2.293 MB / 2.462 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/5.344, allocations: 207.7 kB / 2.462 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/5.344, allocations: 4 kB / 2.462 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/5.346, allocations: 83.75 kB / 2.462 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/5.346, allocations: 44.5 kB / 2.462 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/5.346, allocations: 59.95 kB / 2.462 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0007095/5.347, allocations: 0.6124 MB / 2.463 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005306/5.352, allocations: 1.781 MB / 2.464 GB, free: 11.19 MB / 0.5417 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.006503/5.359, allocations: 2.511 MB / 2.467 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004949/5.364, allocations: 3.261 MB / 2.47 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/5.364, allocations: 4.656 kB / 2.47 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/5.365, allocations: 0.82 MB / 2.471 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/5.367, allocations: 460.7 kB / 2.471 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/5.371, allocations: 2.085 MB / 2.473 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/5.373, allocations: 1.455 MB / 2.475 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/5.373, allocations: 0 / 2.475 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of Templates: time 0.2745/5.647, allocations: 64.57 MB / 2.538 GB, free: 122.6 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/IdealMixing1/IdealMixing1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches