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.Bend.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.Bend,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.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,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.Bend") [: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.002611/0.00261, allocations: 170.2 kB / 8.144 MB, free: 2.219 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.692/1.692, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001214/0.001214, allocations: 93.52 kB / 261.8 MB, free: 13.62 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.2577/0.2577, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.594e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2701, allocations: 58.84 MB / 476.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.599, allocations: 0.5961 GB / 1.062 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003813/1.6, allocations: 94.2 kB / 1.062 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.27/2.87, allocations: 278.6 MB / 1.334 GB, free: 65.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.275e-05/2.87, allocations: 16 kB / 1.334 GB, free: 65.79 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.00412/2.874, allocations: 1.244 MB / 1.335 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/2.874, allocations: 11.97 kB / 1.335 GB, free: 64.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/2.876, allocations: 159 kB / 1.335 GB, free: 64.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/2.878, allocations: 0.4936 MB / 1.335 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/2.878, allocations: 19.89 kB / 1.336 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/2.878, allocations: 28 kB / 1.336 GB, free: 63.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001121/2.879, allocations: 429.9 kB / 1.336 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/2.88, allocations: 0.5399 MB / 1.336 GB, free: 62.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/2.88, allocations: 0 / 1.336 GB, free: 62.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/2.88, allocations: 4 kB / 1.336 GB, free: 62.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/2.88, allocations: 12 kB / 1.336 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/2.885, allocations: 2.629 MB / 1.339 GB, free: 59.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/2.885, allocations: 211.5 kB / 1.339 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/2.886, allocations: 120.8 kB / 1.339 GB, free: 59.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/2.886, allocations: 325.7 kB / 1.34 GB, free: 59.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/2.886, allocations: 42.56 kB / 1.34 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/2.886, allocations: 3.938 kB / 1.34 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.004433/2.89, allocations: 0.8213 MB / 1.341 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/2.891, allocations: 158.2 kB / 1.341 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006417/2.891, allocations: 385 kB / 1.341 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/2.891, allocations: 29.7 kB / 1.341 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/2.891, allocations: 301.7 kB / 1.341 GB, free: 57.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/2.891, allocations: 114.4 kB / 1.341 GB, free: 57.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/2.892, allocations: 0 / 1.341 GB, free: 57.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/2.892, allocations: 326.8 kB / 1.342 GB, free: 57.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/2.892, allocations: 125 kB / 1.342 GB, free: 56.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/2.892, allocations: 301.8 kB / 1.342 GB, free: 56.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/2.896, allocations: 0.6513 MB / 1.343 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/2.896, allocations: 0 / 1.343 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004623/2.901, allocations: 0.9464 MB / 1.344 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/2.901, allocations: 4 kB / 1.344 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/2.901, allocations: 4 kB / 1.344 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/2.901, allocations: 56.77 kB / 1.344 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/2.902, allocations: 120.2 kB / 1.344 GB, free: 54.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000706/2.903, allocations: 0.607 MB / 1.345 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/2.903, allocations: 43.62 kB / 1.345 GB, free: 54.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/2.903, allocations: 51.98 kB / 1.345 GB, free: 54.02 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.0002025/2.904, allocations: 41.64 kB / 1.345 GB, free: 53.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/2.904, allocations: 55.44 kB / 1.345 GB, free: 53.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/2.907, allocations: 0.6974 MB / 1.345 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/2.907, allocations: 4 kB / 1.345 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/2.907, allocations: 0 / 1.345 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/2.907, allocations: 7.984 kB / 1.345 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/2.91, allocations: 1.159 MB / 1.347 GB, free: 51.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/2.91, allocations: 8.25 kB / 1.347 GB, free: 51.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/2.91, allocations: 47.91 kB / 1.347 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/2.911, allocations: 48.73 kB / 1.347 GB, free: 51.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/2.911, allocations: 11.88 kB / 1.347 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/2.911, allocations: 0.6109 MB / 1.347 GB, free: 51.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/2.911, allocations: 8.094 kB / 1.347 GB, free: 51.16 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001863/2.913, allocations: 0.6607 MB / 1.348 GB, free: 50.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/2.913, allocations: 152.4 kB / 1.348 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/2.914, allocations: 4 kB / 1.348 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/2.914, allocations: 27.81 kB / 1.348 GB, free: 50.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/2.914, allocations: 27.97 kB / 1.348 GB, free: 50.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/2.915, allocations: 23.97 kB / 1.348 GB, free: 50.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005241/2.915, allocations: 322.9 kB / 1.348 GB, free: 49.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002092/2.917, allocations: 475.2 kB / 1.349 GB, free: 49.38 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.003272/2.92, allocations: 1.522 MB / 1.35 GB, free: 48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001086/2.922, allocations: 332.8 kB / 1.351 GB, free: 47.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/2.922, allocations: 8.188 kB / 1.351 GB, free: 47.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/2.922, allocations: 119.8 kB / 1.351 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/2.924, allocations: 242.7 kB / 1.351 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/2.926, allocations: 0.6288 MB / 1.352 GB, free: 46.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/2.927, allocations: 0.9987 MB / 1.353 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/2.927, allocations: 4 kB / 1.353 GB, free: 45.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.03642/2.964, allocations: 19.77 MB / 1.372 GB, free: 25.81 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches