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.001411/0.001411, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001556/0.001556, allocations: 164.3 kB / 24.84 MB, free: 9.25 MB / 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.9202/0.9202, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1258/0.1258, allocations: 32.38 MB / 271.5 MB, free: 14.54 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.242e-06/1.242e-06, allocations: 0 / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.649e-05, allocations: 2.312 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002221/0.002238, allocations: 1.854 MB / 350.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.003797, allocations: 1.341 MB / 352.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.003876, allocations: 0 / 352.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.004071, allocations: 43.66 kB / 352.2 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.004233, allocations: 47.62 kB / 352.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.004687, allocations: 251 kB / 352.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.004795, allocations: 111.3 kB / 352.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.004831, allocations: 1.312 kB / 352.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.00497, allocations: 75.67 kB / 352.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.005037, allocations: 31.91 kB / 352.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.005051, allocations: 8 kB / 352.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.005436, allocations: 303.3 kB / 353 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.00546, allocations: 19.91 kB / 353 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.005493, allocations: 27.86 kB / 353 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.005872, allocations: 326.9 kB / 353.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005875, allocations: 0 / 353.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005875, allocations: 0 / 353.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.00588, allocations: 0 / 353.4 MB, free: 4.703 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.0004062/0.006287, allocations: 467.7 kB / 353.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.006329, allocations: 12.03 kB / 353.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.006378, allocations: 20.84 kB / 353.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.006467, allocations: 124.5 kB / 354 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.006485, allocations: 8.375 kB / 354 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.006514, allocations: 8.375 kB / 354 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.006673, allocations: 114.9 kB / 354.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006684, allocations: 3.938 kB / 354.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006696, allocations: 4 kB / 354.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.006705, allocations: 7.984 kB / 354.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.14e-05/0.006776, allocations: 43.95 kB / 354.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.007368, allocations: 443 kB / 354.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.007498, allocations: 71.16 kB / 354.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.007533, allocations: 31.61 kB / 354.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.007549, allocations: 4 kB / 354.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.007566, allocations: 37.39 kB / 354.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.007567, allocations: 7.938 kB / 354.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000192/0.007759, allocations: 101.5 kB / 354.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.007786, allocations: 55.41 kB / 354.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.007853, allocations: 177.8 kB / 355.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.007861, allocations: 25.7 kB / 355.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.007904, allocations: 158.6 kB / 355.2 MB, free: 2.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.007927, allocations: 47.61 kB / 355.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.007972, allocations: 39.34 kB / 355.3 MB, free: 2.547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.008037, allocations: 0.4923 MB / 355.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.008064, allocations: 15.98 kB / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.008113, allocations: 77.97 kB / 355.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.008198, allocations: 102.5 kB / 356 MB, free: 1.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.0082, allocations: 0 / 356 MB, free: 1.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001349/0.008335, allocations: 117.4 kB / 356.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.008348, allocations: 7.984 kB / 356.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008354, allocations: 4 kB / 356.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.008365, allocations: 4.094 kB / 356.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.008509, allocations: 51.86 kB / 356.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001999/0.008709, allocations: 0.8972 MB / 357.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.008768, allocations: 11.95 kB / 357.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.008779, allocations: 7.938 kB / 357.1 MB, free: 0.668 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 5.912e-05/0.008838, allocations: 168.5 kB / 357.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.008868, allocations: 15.95 kB / 357.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.009036, allocations: 133 kB / 357.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009038, allocations: 0 / 357.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00904, allocations: 0 / 357.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.009043, allocations: 0 / 357.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.009196, allocations: 137.2 kB / 357.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.009198, allocations: 4 kB / 357.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.009312, allocations: 39.97 kB / 357.6 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.009316, allocations: 3.938 kB / 357.6 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.009326, allocations: 4 kB / 357.6 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003399/0.009666, allocations: 0.8972 MB / 358.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009667, allocations: 0 / 358.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.009905, allocations: 275.8 kB / 358.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.009947, allocations: 23.88 kB / 358.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.009964, allocations: 0 / 358.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.01003, allocations: 8 kB / 358.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.01007, allocations: 7.984 kB / 358.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.01008, allocations: 7.984 kB / 358.8 MB, free: 14.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.01012, allocations: 131.3 kB / 358.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01012, allocations: 0 / 358.9 MB, free: 14.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.01045, allocations: 79.62 kB / 359 MB, free: 14.66 MB / 298.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.0002517/0.0107, allocations: 186.9 kB / 359.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01089, allocations: 86.47 kB / 359.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01089, allocations: 3.938 kB / 359.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.01098, allocations: 55.59 kB / 359.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01121, allocations: 8 kB / 359.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/0.01192, allocations: 310 kB / 359.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.01196, allocations: 67.28 kB / 359.7 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.01203, allocations: 20.7 kB / 359.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.01211, allocations: 86.19 kB / 359.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01211, allocations: 0 / 359.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.005104/0.01721, allocations: 2.642 MB / 362.5 MB, free: 11.2 MB / 298.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 -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.3886973317712545]