Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 190.2 kB / 7.809 MB, free: 1.18 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.052/1.052, allocations: 205.2 MB / 213.4 MB, free: 8.578 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.0007746/0.0007748, allocations: 94.56 kB / 261.4 MB, free: 5.078 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.1528/0.1528, allocations: 43.49 MB / 352.9 MB, free: 11.34 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 5.05e-06/5.06e-06, allocations: 0 / 417.7 MB, free: 68.16 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08077, allocations: 58.84 MB / 476.6 MB, free: 9.273 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8721/0.9529, allocations: 0.5906 GB / 1.056 GB, free: 43.2 MB / 0.5027 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.9532, allocations: 83.95 kB / 1.056 GB, free: 43.11 MB / 0.5027 GB Notification: Performance of FrontEnd: time 0.7807/1.734, allocations: 266.4 MB / 1.316 GB, free: 95.89 MB / 0.5027 GB Notification: Performance of Transformations before backend: time 3.366e-05/1.734, allocations: 14.19 kB / 1.316 GB, free: 95.89 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002471/1.736, allocations: 1.211 MB / 1.317 GB, free: 95.48 MB / 0.5027 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/1.736, allocations: 7.812 kB / 1.317 GB, free: 95.48 MB / 0.5027 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.738, allocations: 162.9 kB / 1.318 GB, free: 95.45 MB / 0.5027 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000667/1.738, allocations: 0.5008 MB / 1.318 GB, free: 95.22 MB / 0.5027 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/1.738, allocations: 15.44 kB / 1.318 GB, free: 95.22 MB / 0.5027 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/1.738, allocations: 22.84 kB / 1.318 GB, free: 95.22 MB / 0.5027 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005731/1.739, allocations: 431.8 kB / 1.318 GB, free: 95.22 MB / 0.5027 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/1.74, allocations: 0.5492 MB / 1.319 GB, free: 95.05 MB / 0.5027 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.74, allocations: 3.094 kB / 1.319 GB, free: 95.05 MB / 0.5027 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/1.74, allocations: 3.938 kB / 1.319 GB, free: 95.05 MB / 0.5027 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.74, allocations: 11.44 kB / 1.319 GB, free: 95.05 MB / 0.5027 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/1.742, allocations: 2.625 MB / 1.322 GB, free: 93.42 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/1.742, allocations: 217.9 kB / 1.322 GB, free: 93.39 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/1.742, allocations: 122.5 kB / 1.322 GB, free: 93.39 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/1.743, allocations: 328.4 kB / 1.322 GB, free: 93.11 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/1.743, allocations: 37 kB / 1.322 GB, free: 93.07 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/1.743, allocations: 3.969 kB / 1.322 GB, free: 93.07 MB / 0.5027 GB Notification: Performance of matching and sorting (n=31): time 0.002411/1.745, allocations: 0.8289 MB / 1.323 GB, free: 92.99 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.745, allocations: 161.5 kB / 1.323 GB, free: 92.8 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/1.745, allocations: 381.1 kB / 1.324 GB, free: 92.7 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/1.746, allocations: 31.89 kB / 1.324 GB, free: 92.66 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.746, allocations: 261.6 kB / 1.324 GB, free: 92.52 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/1.746, allocations: 108.1 kB / 1.324 GB, free: 92.46 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/1.746, allocations: 0 / 1.324 GB, free: 92.46 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/1.746, allocations: 357.8 kB / 1.324 GB, free: 92.15 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.746, allocations: 128.2 kB / 1.324 GB, free: 92.15 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/1.746, allocations: 300.9 kB / 1.325 GB, free: 91.95 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/1.748, allocations: 0.6426 MB / 1.325 GB, free: 91.95 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.748, allocations: 3.656 kB / 1.325 GB, free: 91.95 MB / 0.5027 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002593/1.751, allocations: 0.9704 MB / 1.326 GB, free: 91.88 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.751, allocations: 3.938 kB / 1.326 GB, free: 91.88 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.751, allocations: 7.062 kB / 1.326 GB, free: 91.88 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/1.751, allocations: 49.47 kB / 1.326 GB, free: 91.87 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/1.752, allocations: 119 kB / 1.326 GB, free: 91.87 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004372/1.752, allocations: 0.6219 MB / 1.327 GB, free: 91.35 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/1.752, allocations: 47.08 kB / 1.327 GB, free: 91.34 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/1.752, allocations: 53.55 kB / 1.327 GB, free: 91.34 MB / 0.5027 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.0001189/1.753, allocations: 125.2 kB / 1.327 GB, free: 91.23 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/1.753, allocations: 58.19 kB / 1.327 GB, free: 91.21 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/1.754, allocations: 0.6944 MB / 1.328 GB, free: 91.12 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.754, allocations: 6.781 kB / 1.328 GB, free: 91.11 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.754, allocations: 3.125 kB / 1.328 GB, free: 91.11 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.754, allocations: 5.719 kB / 1.328 GB, free: 91.11 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/1.756, allocations: 1.163 MB / 1.329 GB, free: 90.58 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.756, allocations: 3.844 kB / 1.329 GB, free: 90.58 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/1.756, allocations: 54.12 kB / 1.329 GB, free: 90.58 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/1.756, allocations: 44.56 kB / 1.329 GB, free: 90.57 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/1.756, allocations: 20.7 kB / 1.329 GB, free: 90.57 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003718/1.757, allocations: 0.6025 MB / 1.33 GB, free: 90.05 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.757, allocations: 0 / 1.33 GB, free: 90.05 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009825/1.758, allocations: 0.6566 MB / 1.331 GB, free: 89.69 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.758, allocations: 149.5 kB / 1.331 GB, free: 89.57 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.546e-05/1.758, allocations: 3.875 kB / 1.331 GB, free: 89.57 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/1.758, allocations: 23.48 kB / 1.331 GB, free: 89.57 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/1.758, allocations: 36.06 kB / 1.331 GB, free: 89.56 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/1.759, allocations: 18.89 kB / 1.331 GB, free: 89.56 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.0002681/1.759, allocations: 322.9 kB / 1.331 GB, free: 89.47 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.001156/1.76, allocations: 417.3 kB / 1.331 GB, free: 89.42 MB / 0.5027 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.00165/1.762, allocations: 1.458 MB / 1.333 GB, free: 89.17 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.0005117/1.762, allocations: 324.5 kB / 1.333 GB, free: 89.16 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.762, allocations: 0 / 1.333 GB, free: 89.16 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/1.762, allocations: 125.4 kB / 1.333 GB, free: 89.16 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.763, allocations: 240.7 kB / 1.334 GB, free: 89.16 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/1.764, allocations: 0.6075 MB / 1.334 GB, free: 88.9 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006009/1.765, allocations: 0.9966 MB / 1.335 GB, free: 88.2 MB / 0.5027 GB Notification: Performance of SimCode: time 2.91e-07/1.765, allocations: 3.594 kB / 1.335 GB, free: 88.2 MB / 0.5027 GB Notification: Performance of Templates: time 0.02575/1.791, allocations: 18.93 MB / 1.354 GB, free: 87.71 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches