Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.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.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [: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.000958/0.000958, allocations: 184.2 kB / 7.806 MB, free: 1.203 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.046/1.046, allocations: 205.2 MB / 213.4 MB, free: 8.598 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.0008275/0.0008276, allocations: 91.3 kB / 261.4 MB, free: 5.082 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.151/0.151, allocations: 43.49 MB / 352.9 MB, free: 11.35 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.782e-06, allocations: 0 / 417.7 MB, free: 68.17 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08769, allocations: 58.84 MB / 476.6 MB, free: 9.277 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/0.3289, allocations: 92.19 MB / 0.5554 GB, free: 4.027 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.3292, allocations: 97.83 kB / 0.5555 GB, free: 3.969 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.02124/0.3504, allocations: 7.369 MB / 0.5627 GB, free: 13.72 MB / 386.8 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3505, allocations: 11.88 kB / 0.5627 GB, free: 13.71 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003868/0.3509, allocations: 439.8 kB / 0.5632 GB, free: 13.24 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3509, allocations: 12.03 kB / 0.5632 GB, free: 13.23 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.3509, allocations: 7.906 kB / 0.5632 GB, free: 13.22 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3511, allocations: 182.8 kB / 0.5634 GB, free: 13 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3511, allocations: 4 kB / 0.5634 GB, free: 13 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.3511, allocations: 8 kB / 0.5634 GB, free: 12.99 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001677/0.3513, allocations: 106.5 kB / 0.5635 GB, free: 12.92 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3514, allocations: 106 kB / 0.5636 GB, free: 12.84 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3515, allocations: 0 / 0.5636 GB, free: 12.84 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3515, allocations: 3.906 kB / 0.5636 GB, free: 12.83 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3515, allocations: 4 kB / 0.5636 GB, free: 12.83 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.3522, allocations: 0.4891 MB / 0.5641 GB, free: 12.34 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3524, allocations: 82.73 kB / 0.5641 GB, free: 12.26 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.3525, allocations: 35.42 kB / 0.5642 GB, free: 12.23 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3525, allocations: 8.203 kB / 0.5642 GB, free: 12.23 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3525, allocations: 34.5 kB / 0.5642 GB, free: 12.18 MB / 386.8 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3525, allocations: 0 / 0.5642 GB, free: 12.18 MB / 386.8 MB Notification: Performance of matching and sorting (n=11): time 0.0001964/0.3527, allocations: 92.02 kB / 0.5643 GB, free: 12.1 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3528, allocations: 55.34 kB / 0.5643 GB, free: 12.04 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.3528, allocations: 104.6 kB / 0.5644 GB, free: 11.93 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3528, allocations: 25.7 kB / 0.5645 GB, free: 11.9 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.3529, allocations: 118.9 kB / 0.5646 GB, free: 11.78 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3529, allocations: 38.34 kB / 0.5646 GB, free: 11.75 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.353, allocations: 0 / 0.5646 GB, free: 11.75 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.353, allocations: 323.2 kB / 0.5649 GB, free: 11.43 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.3531, allocations: 18.94 kB / 0.5649 GB, free: 11.42 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.3532, allocations: 66.75 kB / 0.565 GB, free: 11.35 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.523e-05/0.3532, allocations: 42.34 kB / 0.565 GB, free: 11.32 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3532, allocations: 0 / 0.565 GB, free: 11.32 MB / 386.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001779/0.3534, allocations: 119.4 kB / 0.5652 GB, free: 11.21 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.3534, allocations: 4 kB / 0.5652 GB, free: 11.2 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3534, allocations: 384 / 0.5652 GB, free: 11.2 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3535, allocations: 12.14 kB / 0.5652 GB, free: 11.19 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.3537, allocations: 51.28 kB / 0.5652 GB, free: 11.14 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003104/0.354, allocations: 0.5933 MB / 0.5658 GB, free: 10.53 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3541, allocations: 23.92 kB / 0.5658 GB, free: 10.51 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3542, allocations: 7.125 kB / 0.5658 GB, free: 10.5 MB / 386.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/0.3542, allocations: 114.3 kB / 0.5659 GB, free: 10.39 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3543, allocations: 7.906 kB / 0.566 GB, free: 10.38 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.3545, allocations: 136.9 kB / 0.5661 GB, free: 10.27 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3546, allocations: 3.906 kB / 0.5661 GB, free: 10.26 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3546, allocations: 4 kB / 0.5661 GB, free: 10.26 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3546, allocations: 4 kB / 0.5661 GB, free: 10.25 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3548, allocations: 180.2 kB / 0.5663 GB, free: 10.05 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3548, allocations: 0 / 0.5663 GB, free: 10.05 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.355, allocations: 43.91 kB / 0.5663 GB, free: 10.01 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.355, allocations: 7.938 kB / 0.5663 GB, free: 10 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.355, allocations: 7.734 kB / 0.5663 GB, free: 10 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000254/0.3553, allocations: 0.5858 MB / 0.5669 GB, free: 9.395 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3553, allocations: 3.906 kB / 0.5669 GB, free: 9.391 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002316/0.3555, allocations: 251 kB / 0.5671 GB, free: 9.168 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3556, allocations: 96.92 kB / 0.5672 GB, free: 9.055 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3556, allocations: 0 / 0.5672 GB, free: 9.055 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3557, allocations: 12.16 kB / 0.5672 GB, free: 9.043 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.3558, allocations: 15.55 kB / 0.5673 GB, free: 9.031 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3558, allocations: 7.984 kB / 0.5673 GB, free: 9.023 MB / 386.8 MB Notification: Performance of sort global known variables: time 3.461e-05/0.3558, allocations: 86.75 kB / 0.5673 GB, free: 8.941 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0003194/0.3562, allocations: 83.23 kB / 0.5674 GB, free: 8.863 MB / 386.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.3565, allocations: 197.5 kB / 0.5676 GB, free: 8.664 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.3567, allocations: 92.91 kB / 0.5677 GB, free: 8.59 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3567, allocations: 0 / 0.5677 GB, free: 8.59 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3569, allocations: 68.78 kB / 0.5678 GB, free: 8.535 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.357, allocations: 288 / 0.5678 GB, free: 8.535 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.3575, allocations: 189.8 kB / 0.568 GB, free: 8.328 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.3578, allocations: 0.7299 MB / 0.5687 GB, free: 7.574 MB / 386.8 MB Notification: Performance of SimCode: time 2.61e-07/0.3578, allocations: 0 / 0.5687 GB, free: 7.574 MB / 386.8 MB Notification: Performance of Templates: time 0.004806/0.3626, allocations: 2.344 MB / 0.571 GB, free: 5.254 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches