Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.00258, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001851, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9726/0.9726, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1855/1.158, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1367/0.1367, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02385/0.1606, allocations: 12.53 MB / 284.5 MB, free: 9.727 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 285.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.962e-05, allocations: 2.312 kB / 285.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002219/0.002239, allocations: 1.917 MB / 287.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003845, allocations: 1.328 MB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.003909, allocations: 0 / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.004052, allocations: 39.77 kB / 289.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.004162, allocations: 67.48 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.004608, allocations: 227 kB / 289.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.004735, allocations: 111.3 kB / 289.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.00477, allocations: 5.969 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.004906, allocations: 79.67 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.004972, allocations: 35.91 kB / 289.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.004986, allocations: 4 kB / 289.7 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.005397, allocations: 319.3 kB / 290 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.005419, allocations: 15.94 kB / 290 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.005454, allocations: 23.94 kB / 290 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.005858, allocations: 271.1 kB / 290.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.00587, allocations: 0 / 290.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.005872, allocations: 4 kB / 290.3 MB, free: 3.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.005881, allocations: 4 kB / 290.3 MB, free: 3.965 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.0004202/0.006302, allocations: 371.8 kB / 290.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.006331, allocations: 8.031 kB / 290.7 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.006368, allocations: 16.92 kB / 290.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.006471, allocations: 121.6 kB / 290.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.006487, allocations: 4.375 kB / 290.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.006521, allocations: 16.36 kB / 290.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006684, allocations: 113.7 kB / 290.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.006693, allocations: 3.938 kB / 290.9 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.006702, allocations: 4 kB / 290.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.006709, allocations: 8 kB / 290.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.802e-05/0.006767, allocations: 43.91 kB / 291 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.007457, allocations: 352.6 kB / 291.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.007625, allocations: 62.53 kB / 291.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.007664, allocations: 20.86 kB / 291.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.007687, allocations: 0 / 291.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.007719, allocations: 38.5 kB / 291.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.007721, allocations: 4 kB / 291.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001885/0.007909, allocations: 89.53 kB / 291.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.007936, allocations: 51.41 kB / 291.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.008002, allocations: 114.7 kB / 291.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.008018, allocations: 29.7 kB / 291.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.00807, allocations: 111.9 kB / 291.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.008092, allocations: 47.56 kB / 291.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.008133, allocations: 37.64 kB / 291.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.008209, allocations: 322.8 kB / 292.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.008225, allocations: 8 kB / 292.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.008265, allocations: 61.06 kB / 292.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.169e-05/0.008337, allocations: 89.03 kB / 292.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.00834, allocations: 4 kB / 292.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.207e-05/0.008432, allocations: 93.53 kB / 292.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.008443, allocations: 4 kB / 292.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.008448, allocations: 4.156 kB / 292.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.008462, allocations: 7.938 kB / 292.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.008588, allocations: 47.91 kB / 292.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/0.008802, allocations: 0.5821 MB / 293.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.008856, allocations: 11.89 kB / 293.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.008864, allocations: 7.984 kB / 293.1 MB, free: 0.875 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.226e-05/0.008926, allocations: 113.8 kB / 293.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.008952, allocations: 16 kB / 293.3 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.009181, allocations: 117.5 kB / 293.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009183, allocations: 0 / 293.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009185, allocations: 0 / 293.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.009188, allocations: 0 / 293.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.009308, allocations: 97.86 kB / 293.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00931, allocations: 0 / 293.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-05/0.009408, allocations: 47.97 kB / 293.5 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.009436, allocations: 15.83 kB / 293.5 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.00944, allocations: 3.984 kB / 293.6 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.009448, allocations: 0 / 293.6 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002508/0.009699, allocations: 0.5859 MB / 294.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0097, allocations: 0 / 294.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.01001, allocations: 205.8 kB / 294.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.01002, allocations: 4 kB / 294.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.01008, allocations: 3.984 kB / 294.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.01012, allocations: 16.08 kB / 294.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01013, allocations: 8 kB / 294.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.468e-05/0.01015, allocations: 21.14 kB / 294.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01015, allocations: 4 kB / 294.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01039, allocations: 71.69 kB / 294.5 MB, free: 15.49 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.0002134/0.01061, allocations: 164 kB / 294.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.01075, allocations: 68.77 kB / 294.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.01076, allocations: 0 / 294.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.01082, allocations: 60.7 kB / 294.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.01098, allocations: 58.09 kB / 294.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.01253, allocations: 292.8 kB / 295.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.01256, allocations: 63.34 kB / 295.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.01263, allocations: 24.72 kB / 295.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.01269, allocations: 67.36 kB / 295.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01269, allocations: 0 / 295.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.003854/0.01655, allocations: 2.245 MB / 297.5 MB, free: 12.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.976843049749732]