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.0009145/0.0009145, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.0009231/0.0009231, allocations: 169 kB / 24.25 MB, free: 312 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.9162/0.9162, allocations: 158.6 MB / 186 MB, free: 2.938 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.1469/0.1469, allocations: 32.37 MB / 270.7 MB, free: 14.78 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 4.138e-06/4.138e-06, allocations: 4 kB / 347.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/4.235e-05, allocations: 6.25 kB / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002207/0.002249, allocations: 1.862 MB / 349.6 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.004279, allocations: 1.353 MB / 350.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.004365, allocations: 0 / 350.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.004594, allocations: 43.7 kB / 351 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.004764, allocations: 59.55 kB / 351 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.00537, allocations: 250.9 kB / 351.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.005516, allocations: 111.3 kB / 351.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.005555, allocations: 1.312 kB / 351.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.005705, allocations: 59.83 kB / 351.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.005763, allocations: 43.83 kB / 351.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.005777, allocations: 4 kB / 351.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.006116, allocations: 307.3 kB / 351.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.006137, allocations: 15.92 kB / 351.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.006169, allocations: 31.84 kB / 351.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.006522, allocations: 319 kB / 352.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006525, allocations: 0 / 352.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006527, allocations: 0 / 352.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.006534, allocations: 0 / 352.1 MB, free: 5.289 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.0003817/0.006915, allocations: 475.7 kB / 352.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.006952, allocations: 8.031 kB / 352.6 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.007001, allocations: 24.84 kB / 352.6 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/0.007071, allocations: 116.5 kB / 352.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.007084, allocations: 8.375 kB / 352.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.007111, allocations: 12.38 kB / 352.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.007278, allocations: 126.8 kB / 352.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.007285, allocations: 3.938 kB / 352.9 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.007297, allocations: 4 kB / 352.9 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007305, allocations: 4 kB / 352.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.007395, allocations: 59.95 kB / 353 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.007966, allocations: 458.5 kB / 353.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.008097, allocations: 87.09 kB / 353.5 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.008136, allocations: 27.67 kB / 353.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.008156, allocations: 4 kB / 353.5 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.008171, allocations: 33.39 kB / 353.6 MB, free: 3.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.008172, allocations: 0 / 353.6 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002106/0.008383, allocations: 121.5 kB / 353.7 MB, free: 3.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.008405, allocations: 55.41 kB / 353.7 MB, free: 3.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.008458, allocations: 177.8 kB / 353.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.008466, allocations: 29.7 kB / 353.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.008503, allocations: 166.6 kB / 354.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.008521, allocations: 35.69 kB / 354.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.008557, allocations: 39.36 kB / 354.2 MB, free: 3.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.008596, allocations: 0.4884 MB / 354.7 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.008627, allocations: 19.98 kB / 354.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.008674, allocations: 78.05 kB / 354.8 MB, free: 2.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.008762, allocations: 114 kB / 354.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.008764, allocations: 0 / 354.9 MB, free: 2.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001314/0.008895, allocations: 125.4 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.008909, allocations: 15.92 kB / 355 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.008914, allocations: 0 / 355 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.008927, allocations: 8.141 kB / 355 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.009056, allocations: 43.98 kB / 355.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001867/0.009243, allocations: 0.8971 MB / 356 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.009299, allocations: 15.95 kB / 356 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.009307, allocations: 4 kB / 356 MB, free: 1.164 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.645e-05/0.009363, allocations: 168.5 kB / 356.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.009386, allocations: 15.89 kB / 356.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.009564, allocations: 138.4 kB / 356.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.009567, allocations: 4 kB / 356.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.009571, allocations: 4 kB / 356.3 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.009574, allocations: 0 / 356.3 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.009701, allocations: 164.5 kB / 356.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009703, allocations: 0 / 356.5 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.009793, allocations: 39.92 kB / 356.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.009795, allocations: 0 / 356.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.009807, allocations: 15.92 kB / 356.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002054/0.01001, allocations: 0.8894 MB / 357.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01001, allocations: 0 / 357.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.01023, allocations: 286.7 kB / 357.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.01027, allocations: 23.81 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.01029, allocations: 4 kB / 357.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.01034, allocations: 7.984 kB / 357.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.01038, allocations: 11.98 kB / 357.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01039, allocations: 7.938 kB / 357.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.121e-05/0.01043, allocations: 139.3 kB / 357.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01043, allocations: 0 / 357.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.01068, allocations: 79.62 kB / 357.9 MB, free: 15.09 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.0002498/0.01093, allocations: 170.9 kB / 358.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.01112, allocations: 87.58 kB / 358.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01112, allocations: 0 / 358.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.01119, allocations: 63.59 kB / 358.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.01139, allocations: 8 kB / 358.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007511/0.01214, allocations: 313.9 kB / 358.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.819e-05/0.01218, allocations: 71.28 kB / 358.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.01224, allocations: 24.69 kB / 358.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.01228, allocations: 24.44 kB / 358.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01228, allocations: 0 / 358.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004218/0.0165, allocations: 2.308 MB / 361 MB, free: 12.02 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.240273052128032]