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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9442/0.9442, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1627/0.1627, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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=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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.826e-05, allocations: 2.312 kB / 299.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003304/0.003332, allocations: 1.896 MB / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.1441, allocations: 1.357 MB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.1441, allocations: 1.938 kB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1443, allocations: 46.11 kB / 302.4 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1444, allocations: 52.09 kB / 302.5 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.1451, allocations: 245 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1452, allocations: 106 kB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.577e-05/0.1452, allocations: 7.047 kB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1454, allocations: 63.2 kB / 302.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.1455, allocations: 42.61 kB / 303 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1455, allocations: 6.188 kB / 303 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.1461, allocations: 314.9 kB / 303.3 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.1461, allocations: 20.16 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.1462, allocations: 24.36 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.1468, allocations: 327.8 kB / 303.6 MB, free: 18.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1468, allocations: 0.75 kB / 303.6 MB, free: 18.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1468, allocations: 0 / 303.6 MB, free: 18.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1468, allocations: 3.5 kB / 303.6 MB, free: 18.95 MB / 282.7 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.000444/0.1472, allocations: 334.1 kB / 304 MB, free: 18.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1472, allocations: 9 kB / 304 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.1473, allocations: 19.91 kB / 304 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.597e-05/0.1474, allocations: 123.5 kB / 304.1 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1474, allocations: 12.31 kB / 304.1 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1474, allocations: 12.48 kB / 304.1 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1476, allocations: 118.5 kB / 304.2 MB, free: 18.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1476, allocations: 7.359 kB / 304.3 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1476, allocations: 3.812 kB / 304.3 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1476, allocations: 3.5 kB / 304.3 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.1477, allocations: 42.08 kB / 304.3 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.1484, allocations: 344.2 kB / 304.6 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1485, allocations: 56.81 kB / 304.7 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.1485, allocations: 25.86 kB / 304.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1486, allocations: 3.766 kB / 304.7 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.1486, allocations: 37.42 kB / 304.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.1486, allocations: 0 / 304.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000202/0.1488, allocations: 82.81 kB / 304.8 MB, free: 18.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.1488, allocations: 53.33 kB / 304.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.1489, allocations: 118.9 kB / 305 MB, free: 17.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1489, allocations: 31.02 kB / 305 MB, free: 17.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.1489, allocations: 117.4 kB / 305.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.149, allocations: 43.2 kB / 305.2 MB, free: 17.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.149, allocations: 36.86 kB / 305.2 MB, free: 17.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.1491, allocations: 320.2 kB / 305.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.1491, allocations: 16.75 kB / 305.6 MB, free: 17.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.492e-05/0.1491, allocations: 53.11 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.1492, allocations: 82.39 kB / 305.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1492, allocations: 0 / 305.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001403/0.1494, allocations: 99.23 kB / 305.8 MB, free: 17.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1494, allocations: 13.25 kB / 305.8 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1494, allocations: 2.312 kB / 305.8 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1494, allocations: 5.969 kB / 305.8 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.1495, allocations: 41.25 kB / 305.9 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001933/0.1497, allocations: 0.579 MB / 306.4 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.1498, allocations: 17.81 kB / 306.4 MB, free: 16.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1498, allocations: 3.984 kB / 306.5 MB, free: 16.69 MB / 282.7 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.981e-05/0.1499, allocations: 122.5 kB / 306.6 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1499, allocations: 12.55 kB / 306.6 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.1501, allocations: 106 kB / 306.7 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1501, allocations: 6.828 kB / 306.7 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1501, allocations: 0.75 kB / 306.7 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1501, allocations: 2.359 kB / 306.7 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1503, allocations: 105.6 kB / 306.8 MB, free: 16.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1503, allocations: 4 kB / 306.8 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1504, allocations: 37.31 kB / 306.8 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1504, allocations: 6.188 kB / 306.8 MB, free: 16.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1504, allocations: 5.766 kB / 306.9 MB, free: 16.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001382/0.1505, allocations: 0.5818 MB / 307.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1505, allocations: 1.703 kB / 307.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.1507, allocations: 205.9 kB / 307.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.1508, allocations: 11.94 kB / 307.6 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1508, allocations: 2.078 kB / 307.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-05/0.1508, allocations: 10.89 kB / 307.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.1509, allocations: 12.81 kB / 307.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1509, allocations: 7.188 kB / 307.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.253e-05/0.1509, allocations: 18.23 kB / 307.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1509, allocations: 0 / 307.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.1512, allocations: 74.64 kB / 307.8 MB, free: 15.62 MB / 282.7 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.00028/0.1515, allocations: 163.3 kB / 307.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1517, allocations: 70.48 kB / 308 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.1517, allocations: 1.188 kB / 308 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.1518, allocations: 51.75 kB / 308.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.1519, allocations: 18.52 kB / 308.1 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000745/0.1527, allocations: 314 kB / 308.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.1527, allocations: 65.81 kB / 308.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.1528, allocations: 13.61 kB / 308.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.1529, allocations: 67.31 kB / 308.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1529, allocations: 1.094 kB / 308.5 MB, free: 15.13 MB / 282.7 MB Notification: Performance of Templates: time 0.007311/0.1602, allocations: 2.561 MB / 311.1 MB, free: 14.85 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1541010751388967]