Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002308/0.002308, allocations: 179.5 kB / 8.149 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.2 MB / 213.8 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 92.72 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2634/0.2634, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.817e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.274, allocations: 58.84 MB / 476.6 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.632, allocations: 0.5906 GB / 1.056 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/1.633, allocations: 91.67 kB / 1.056 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.1/2.732, allocations: 266.4 MB / 1.316 GB, free: 82.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.084e-05/2.732, allocations: 15.91 kB / 1.316 GB, free: 82.43 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003531/2.736, allocations: 1.201 MB / 1.317 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/2.736, allocations: 8.031 kB / 1.317 GB, free: 81.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/2.738, allocations: 159 kB / 1.318 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/2.739, allocations: 0.498 MB / 1.318 GB, free: 80.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/2.739, allocations: 12 kB / 1.318 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/2.739, allocations: 31.98 kB / 1.318 GB, free: 80.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001106/2.74, allocations: 429.9 kB / 1.318 GB, free: 80.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/2.742, allocations: 0.5413 MB / 1.319 GB, free: 79.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/2.742, allocations: 4 kB / 1.319 GB, free: 79.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/2.742, allocations: 0 / 1.319 GB, free: 79.44 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/2.742, allocations: 12 kB / 1.319 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004174/2.746, allocations: 2.64 MB / 1.322 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/2.746, allocations: 226.3 kB / 1.322 GB, free: 76.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/2.747, allocations: 120.8 kB / 1.322 GB, free: 76.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/2.747, allocations: 329.1 kB / 1.322 GB, free: 75.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/2.747, allocations: 45.06 kB / 1.322 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.595e-06/2.747, allocations: 0 / 1.322 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.004385/2.752, allocations: 0.8213 MB / 1.323 GB, free: 75.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/2.752, allocations: 158.2 kB / 1.323 GB, free: 74.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/2.752, allocations: 395.6 kB / 1.324 GB, free: 74.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/2.752, allocations: 25.7 kB / 1.324 GB, free: 74.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/2.753, allocations: 297.8 kB / 1.324 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/2.753, allocations: 114.4 kB / 1.324 GB, free: 74.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/2.753, allocations: 0 / 1.324 GB, free: 74.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/2.753, allocations: 329.2 kB / 1.324 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/2.753, allocations: 121 kB / 1.324 GB, free: 73.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/2.754, allocations: 298.6 kB / 1.325 GB, free: 73.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/2.757, allocations: 0.6487 MB / 1.325 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/2.757, allocations: 0 / 1.325 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004495/2.762, allocations: 0.9394 MB / 1.326 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/2.762, allocations: 4 kB / 1.326 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/2.762, allocations: 4 kB / 1.326 GB, free: 71.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/2.762, allocations: 47.19 kB / 1.326 GB, free: 71.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/2.763, allocations: 119.8 kB / 1.326 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007024/2.764, allocations: 0.6136 MB / 1.327 GB, free: 70.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/2.764, allocations: 43.7 kB / 1.327 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/2.764, allocations: 54.8 kB / 1.327 GB, free: 70.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000162/2.764, allocations: 45.52 kB / 1.327 GB, free: 70.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/2.765, allocations: 51.34 kB / 1.327 GB, free: 70.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/2.768, allocations: 0.7144 MB / 1.328 GB, free: 69.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/2.768, allocations: 4 kB / 1.328 GB, free: 69.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/2.768, allocations: 7.922 kB / 1.328 GB, free: 69.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/2.768, allocations: 3.906 kB / 1.328 GB, free: 69.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/2.771, allocations: 1.167 MB / 1.329 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/2.771, allocations: 4 kB / 1.329 GB, free: 68.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/2.771, allocations: 51.91 kB / 1.329 GB, free: 68.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/2.772, allocations: 53.08 kB / 1.329 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/2.772, allocations: 4 kB / 1.329 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006648/2.772, allocations: 0.603 MB / 1.33 GB, free: 67.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/2.772, allocations: 7.938 kB / 1.33 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001884/2.774, allocations: 0.6531 MB / 1.33 GB, free: 67.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/2.775, allocations: 164.2 kB / 1.331 GB, free: 66.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/2.775, allocations: 4 kB / 1.331 GB, free: 66.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006855/2.775, allocations: 27.92 kB / 1.331 GB, free: 66.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/2.776, allocations: 27.88 kB / 1.331 GB, free: 66.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/2.776, allocations: 15.98 kB / 1.331 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005348/2.776, allocations: 326.9 kB / 1.331 GB, free: 66.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001817/2.778, allocations: 415.4 kB / 1.331 GB, free: 66.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002743/2.781, allocations: 1.455 MB / 1.333 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001077/2.782, allocations: 332.5 kB / 1.333 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/2.782, allocations: 0 / 1.333 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/2.782, allocations: 119.9 kB / 1.333 GB, free: 64.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/2.785, allocations: 247.1 kB / 1.333 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/2.787, allocations: 0.6289 MB / 1.334 GB, free: 63.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/2.788, allocations: 1.006 MB / 1.335 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.243e-06/2.788, allocations: 0 / 1.335 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.03598/2.824, allocations: 18.74 MB / 1.353 GB, free: 43.72 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches