Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000944/0.0009441, allocations: 186.6 kB / 7.8 MB, free: 2.492 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.028/1.028, 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.0008047/0.0008043, allocations: 87.62 kB / 261.4 MB, free: 13.55 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.1549/0.1549, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.55e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8919/1.109, allocations: 0.5961 GB / 1.062 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.11, allocations: 87.14 kB / 1.062 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.6763/1.786, allocations: 278.5 MB / 1.334 GB, free: 75.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.177e-05/1.786, allocations: 19.28 kB / 1.334 GB, free: 75.72 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.002943/1.789, allocations: 1.242 MB / 1.335 GB, free: 74.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/1.789, allocations: 8.031 kB / 1.335 GB, free: 74.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/1.79, allocations: 163 kB / 1.335 GB, free: 74.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/1.791, allocations: 0.4928 MB / 1.335 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1.791, allocations: 15.91 kB / 1.336 GB, free: 73.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/1.791, allocations: 27.94 kB / 1.336 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005781/1.792, allocations: 429.9 kB / 1.336 GB, free: 73.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/1.792, allocations: 0.5498 MB / 1.336 GB, free: 72.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.792, allocations: 3.938 kB / 1.336 GB, free: 72.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/1.793, allocations: 0 / 1.336 GB, free: 72.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.793, allocations: 12 kB / 1.337 GB, free: 72.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/1.795, allocations: 2.641 MB / 1.339 GB, free: 69.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/1.795, allocations: 212.4 kB / 1.339 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/1.795, allocations: 120.8 kB / 1.339 GB, free: 69.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002328/1.795, allocations: 321.5 kB / 1.34 GB, free: 69.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/1.795, allocations: 50.48 kB / 1.34 GB, free: 69.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 1.342e-06/1.795, allocations: 0 / 1.34 GB, free: 69.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.002304/1.798, allocations: 0.8213 MB / 1.341 GB, free: 68.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.798, allocations: 158.2 kB / 1.341 GB, free: 68.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/1.798, allocations: 385 kB / 1.341 GB, free: 67.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/1.798, allocations: 25.7 kB / 1.341 GB, free: 67.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/1.798, allocations: 259.3 kB / 1.341 GB, free: 67.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/1.798, allocations: 106.4 kB / 1.341 GB, free: 67.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/1.798, allocations: 4 kB / 1.341 GB, free: 67.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/1.798, allocations: 358.8 kB / 1.342 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.799, allocations: 125 kB / 1.342 GB, free: 66.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/1.799, allocations: 297.4 kB / 1.342 GB, free: 66.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/1.801, allocations: 0.6513 MB / 1.343 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.801, allocations: 0 / 1.343 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002394/1.803, allocations: 0.9696 MB / 1.344 GB, free: 64.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.803, allocations: 4 kB / 1.344 GB, free: 64.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.803, allocations: 4 kB / 1.344 GB, free: 64.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/1.803, allocations: 52.83 kB / 1.344 GB, free: 64.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/1.804, allocations: 127.7 kB / 1.344 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004039/1.804, allocations: 0.6151 MB / 1.345 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/1.805, allocations: 47.52 kB / 1.345 GB, free: 63.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/1.805, allocations: 51.98 kB / 1.345 GB, free: 63.92 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 9.925e-05/1.805, allocations: 128.9 kB / 1.345 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/1.805, allocations: 51.34 kB / 1.345 GB, free: 63.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/1.806, allocations: 0.7014 MB / 1.346 GB, free: 63.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.806, allocations: 4 kB / 1.346 GB, free: 63.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.806, allocations: 0 / 1.346 GB, free: 63.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.806, allocations: 0 / 1.346 GB, free: 63.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/1.808, allocations: 1.155 MB / 1.347 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.808, allocations: 256 / 1.347 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.808, allocations: 51.92 kB / 1.347 GB, free: 61.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/1.808, allocations: 44.83 kB / 1.347 GB, free: 61.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/1.808, allocations: 11.98 kB / 1.347 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003498/1.809, allocations: 0.6069 MB / 1.347 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.809, allocations: 4 kB / 1.347 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009305/1.81, allocations: 0.6687 MB / 1.348 GB, free: 60.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/1.81, allocations: 148.4 kB / 1.348 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/1.81, allocations: 7.906 kB / 1.348 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/1.81, allocations: 23.92 kB / 1.348 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/1.81, allocations: 15.97 kB / 1.348 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/1.81, allocations: 23.98 kB / 1.348 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002648/1.81, allocations: 326.9 kB / 1.349 GB, free: 59.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001258/1.812, allocations: 471.2 kB / 1.349 GB, free: 59.23 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.001755/1.814, allocations: 1.532 MB / 1.35 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004712/1.814, allocations: 328.6 kB / 1.351 GB, free: 57.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.814, allocations: 4 kB / 1.351 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/1.814, allocations: 124.2 kB / 1.351 GB, free: 57.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.815, allocations: 252.2 kB / 1.351 GB, free: 57.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/1.816, allocations: 0.5998 MB / 1.352 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/1.817, allocations: 0.9988 MB / 1.353 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/1.817, allocations: 4 kB / 1.353 GB, free: 55.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.0236/1.84, allocations: 20.5 MB / 1.373 GB, free: 35.04 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches