Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00103/0.00103, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001058/0.001058, allocations: 166.3 kB / 24.82 MB, free: 9.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.2 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3322/0.3322, allocations: 34.27 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.827e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002702/0.00272, allocations: 1.859 MB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.004369, allocations: 1.351 MB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/0.004446, allocations: 0 / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.004665, allocations: 43.69 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.004813, allocations: 55.56 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.005333, allocations: 250.9 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.005452, allocations: 111.4 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.005489, allocations: 5.312 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.005689, allocations: 71.69 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.005756, allocations: 39.83 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.005771, allocations: 8 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.006158, allocations: 311.3 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.006179, allocations: 23.84 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.00621, allocations: 27.88 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.006589, allocations: 326.9 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.006591, allocations: 0 / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006593, allocations: 0 / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.006597, allocations: 7.938 kB / 383 MB, free: 13.89 MB / 362.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.0004489/0.007046, allocations: 467.7 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.007092, allocations: 12.03 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.007136, allocations: 24.84 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.616e-05/0.007233, allocations: 112.6 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.007247, allocations: 12.38 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.007276, allocations: 16.31 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.007435, allocations: 107.4 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.007445, allocations: 7.922 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.007455, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.007462, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.007528, allocations: 51.95 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.008101, allocations: 439 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.00822, allocations: 79.09 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.00825, allocations: 23.67 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.008278, allocations: 7.938 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.008301, allocations: 37.39 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.434e-06/0.008304, allocations: 3.984 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000194/0.008498, allocations: 109.4 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.008531, allocations: 59.41 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.008614, allocations: 169.9 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.008629, allocations: 33.7 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.00869, allocations: 158.5 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.008718, allocations: 39.67 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.008761, allocations: 43.34 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.008893, allocations: 0.4884 MB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.008915, allocations: 11.98 kB / 385.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.008978, allocations: 78.08 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-05/0.009072, allocations: 110.4 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.009074, allocations: 8 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001237/0.009198, allocations: 113.4 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.009215, allocations: 10.5 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.009221, allocations: 0 / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.009237, allocations: 7.938 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.00937, allocations: 52.06 kB / 385.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006859/0.01006, allocations: 0.8972 MB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.01011, allocations: 11.89 kB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.01012, allocations: 7.984 kB / 386.8 MB, free: 9.836 MB / 362.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 8.494e-05/0.0102, allocations: 168.5 kB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.01022, allocations: 11.95 kB / 386.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.0104, allocations: 129.2 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.0104, allocations: 4 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.0104, allocations: 0 / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01041, allocations: 0 / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.01055, allocations: 141.1 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01055, allocations: 0 / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.01064, allocations: 39.92 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.01065, allocations: 7.938 kB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.01065, allocations: 0 / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002586/0.01091, allocations: 0.8972 MB / 388.2 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01091, allocations: 0 / 388.2 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.01109, allocations: 279.7 kB / 388.4 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.01113, allocations: 15.88 kB / 388.4 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.01115, allocations: 8 kB / 388.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.01119, allocations: 3.984 kB / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.01123, allocations: 7.984 kB / 388.5 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01124, allocations: 8 kB / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.01128, allocations: 131.2 kB / 388.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01128, allocations: 4.094 kB / 388.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.01153, allocations: 75.64 kB / 388.7 MB, free: 7.836 MB / 362.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.0002321/0.01176, allocations: 194.9 kB / 388.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.01192, allocations: 87.45 kB / 388.9 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01192, allocations: 0 / 388.9 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.01199, allocations: 55.59 kB / 389 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.01217, allocations: 12 kB / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.01281, allocations: 302.8 kB / 389.3 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.01286, allocations: 67.28 kB / 389.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.01291, allocations: 20.47 kB / 389.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.01299, allocations: 86.19 kB / 389.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01299, allocations: 0 / 389.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of Templates: time 0.004455/0.01744, allocations: 2.733 MB / 392.2 MB, free: 4.277 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/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","",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.3397536859847605]