Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 177.1 MB / 204.7 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_trunk_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=5000,variableFilter="time|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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 79.88 kB / 443.2 MB, free: 6.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3309, allocations: 66.05 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002501/0.3335, allocations: 1.799 MB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3351, allocations: 1.272 MB / 0.5003 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.3351, allocations: 3.25 kB / 0.5003 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.3353, allocations: 36.12 kB / 0.5003 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.3355, allocations: 55.78 kB / 0.5004 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.3359, allocations: 253.6 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.336, allocations: 107 kB / 0.5007 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.3361, allocations: 7.984 kB / 0.5007 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.3362, allocations: 57.2 kB / 0.5008 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.3363, allocations: 41.97 kB / 0.5008 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3363, allocations: 10.53 kB / 0.5008 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.3367, allocations: 313.9 kB / 0.5011 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.828e-05/0.3368, allocations: 11.5 kB / 0.5011 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.3368, allocations: 40.31 kB / 0.5012 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.3372, allocations: 307.9 kB / 0.5015 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3372, allocations: 6.719 kB / 0.5015 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3372, allocations: 0 / 0.5015 GB, free: 27.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3372, allocations: 0 / 0.5015 GB, free: 27.32 MB / 446.1 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.0004321/0.3376, allocations: 375.7 kB / 0.5018 GB, free: 26.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3377, allocations: 9.594 kB / 0.5019 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.3377, allocations: 11.08 kB / 0.5019 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.3378, allocations: 121.5 kB / 0.502 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3378, allocations: 10.69 kB / 0.502 GB, free: 26.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.3378, allocations: 14.66 kB / 0.502 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.3381, allocations: 151 kB / 0.5021 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3381, allocations: 0 / 0.5021 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3381, allocations: 7.344 kB / 0.5022 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3381, allocations: 2.844 kB / 0.5022 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002646/0.3384, allocations: 138.3 kB / 0.5023 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.339, allocations: 396.8 kB / 0.5027 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.3393, allocations: 102.3 kB / 0.5028 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3394, allocations: 50.11 kB / 0.5028 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3394, allocations: 4 kB / 0.5028 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.3394, allocations: 33.72 kB / 0.5028 GB, free: 26.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3394, allocations: 0 / 0.5028 GB, free: 26.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004365/0.3399, allocations: 155.2 kB / 0.503 GB, free: 26.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.3399, allocations: 58.5 kB / 0.5031 GB, free: 26.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.3399, allocations: 125.6 kB / 0.5032 GB, free: 26.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.34, allocations: 29.64 kB / 0.5032 GB, free: 26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.34, allocations: 121.4 kB / 0.5033 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.34, allocations: 38.25 kB / 0.5034 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3401, allocations: 41.3 kB / 0.5034 GB, free: 25.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3401, allocations: 321.2 kB / 0.5037 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3402, allocations: 34.98 kB / 0.5037 GB, free: 25.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3404, allocations: 78.09 kB / 0.5038 GB, free: 25.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.3406, allocations: 130.7 kB / 0.5039 GB, free: 25.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3406, allocations: 0 / 0.5039 GB, free: 25.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002938/0.3409, allocations: 170.2 kB / 0.5041 GB, free: 25.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3409, allocations: 8.906 kB / 0.5041 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3409, allocations: 160 / 0.5041 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3409, allocations: 6.938 kB / 0.5041 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.3411, allocations: 48.28 kB / 0.5042 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002036/0.3413, allocations: 0.5881 MB / 0.5047 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3414, allocations: 20.8 kB / 0.5047 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.3414, allocations: 9.422 kB / 0.5048 GB, free: 24.67 MB / 446.1 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.3415, allocations: 120.8 kB / 0.5049 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3415, allocations: 3.031 kB / 0.5049 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.3419, allocations: 177.5 kB / 0.505 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3419, allocations: 6.781 kB / 0.505 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3419, allocations: 0 / 0.505 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3419, allocations: 3.938 kB / 0.5051 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3421, allocations: 143.7 kB / 0.5052 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3421, allocations: 5.359 kB / 0.5052 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.3422, allocations: 35.28 kB / 0.5052 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3423, allocations: 3 kB / 0.5052 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3423, allocations: 5.5 kB / 0.5052 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001585/0.3424, allocations: 0.5894 MB / 0.5058 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3424, allocations: 0 / 0.5058 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3428, allocations: 297.3 kB / 0.5061 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.3429, allocations: 22.19 kB / 0.5061 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.3429, allocations: 7.438 kB / 0.5061 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.343, allocations: 7.625 kB / 0.5061 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.343, allocations: 10.17 kB / 0.5061 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.343, allocations: 6.188 kB / 0.5061 GB, free: 23.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.3431, allocations: 88.86 kB / 0.5062 GB, free: 23.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3431, allocations: 288 / 0.5062 GB, free: 23.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.3434, allocations: 82.72 kB / 0.5063 GB, free: 23.39 MB / 446.1 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002613/0.3437, allocations: 186.5 kB / 0.5065 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.3441, allocations: 123.1 kB / 0.5066 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3441, allocations: 0 / 0.5066 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3442, allocations: 68.44 kB / 0.5067 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3445, allocations: 10.59 kB / 0.5067 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.3451, allocations: 316.1 kB / 0.507 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.3451, allocations: 90.36 kB / 0.5071 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.521e-05/0.3452, allocations: 14.47 kB / 0.5071 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.3452, allocations: 17.75 kB / 0.5071 GB, free: 22.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3452, allocations: 0 / 0.5071 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Templates: time 0.005567/0.3508, allocations: 2.356 MB / 0.5094 GB, free: 22.66 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.09489045094233]