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.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.0008581/0.0008581, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.002028, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007699/0.0007699, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001784, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.112/1.112, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1166/1.229, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.3298/0.3298, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03156/0.3614, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.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.412e-06/1.412e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.368e-05, allocations: 3.297 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002642/0.002665, allocations: 1.919 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.004481, allocations: 1.383 MB / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.004569, allocations: 0 / 293.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.004759, allocations: 43.77 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.00492, allocations: 55.55 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.005561, allocations: 242.9 kB / 294.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.005711, allocations: 107.4 kB / 294.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.703e-05/0.005758, allocations: 17.83 kB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.005972, allocations: 67.75 kB / 294.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.812e-05/0.00605, allocations: 43.83 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.006064, allocations: 4 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.006541, allocations: 323.3 kB / 294.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.006565, allocations: 7.938 kB / 294.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.006614, allocations: 27.94 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.007021, allocations: 283.1 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.249e-05/0.007044, allocations: 4 kB / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.007045, allocations: 0 / 295.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/0.007063, allocations: 0 / 295.1 MB, free: 3.777 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.0005836/0.007647, allocations: 377.1 kB / 295.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.007689, allocations: 16.02 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.007739, allocations: 12.94 kB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.007858, allocations: 129.6 kB / 295.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.007874, allocations: 8.375 kB / 295.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.007903, allocations: 16.38 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.008144, allocations: 118.2 kB / 295.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.008154, allocations: 7.922 kB / 295.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.008166, allocations: 4 kB / 295.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.008172, allocations: 4 kB / 295.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.029e-05/0.008242, allocations: 43.98 kB / 295.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.008861, allocations: 332.7 kB / 296.2 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.009003, allocations: 64.41 kB / 296.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.009036, allocations: 24.8 kB / 296.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.009064, allocations: 4 kB / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.009092, allocations: 38.55 kB / 296.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.009094, allocations: 0 / 296.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001713/0.009265, allocations: 81.55 kB / 296.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.009296, allocations: 51.41 kB / 296.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.00937, allocations: 126.6 kB / 296.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.009384, allocations: 29.7 kB / 296.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.009438, allocations: 119.8 kB / 296.7 MB, free: 2.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.009463, allocations: 35.69 kB / 296.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.009511, allocations: 45.58 kB / 296.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.00961, allocations: 318.8 kB / 297.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.009636, allocations: 12 kB / 297.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/0.009687, allocations: 59.38 kB / 297.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.493e-05/0.009772, allocations: 77.92 kB / 297.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.009775, allocations: 0 / 297.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001213/0.009897, allocations: 102.3 kB / 297.3 MB, free: 1.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.009914, allocations: 10.03 kB / 297.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.00992, allocations: 0 / 297.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.009935, allocations: 15.86 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.0101, allocations: 43.97 kB / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002839/0.01039, allocations: 0.586 MB / 298 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.96e-05/0.01046, allocations: 12.11 kB / 298 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01047, allocations: 15.98 kB / 298 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 8.039e-05/0.01055, allocations: 113.8 kB / 298.1 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.01057, allocations: 7.938 kB / 298.1 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.01076, allocations: 110.7 kB / 298.2 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01076, allocations: 0 / 298.2 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01077, allocations: 4 kB / 298.2 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01077, allocations: 4 kB / 298.3 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.01094, allocations: 101.8 kB / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01094, allocations: 0 / 298.4 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.01106, allocations: 39.97 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.0111, allocations: 19.83 kB / 298.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.0111, allocations: 0 / 298.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.01112, allocations: 7.984 kB / 298.4 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002825/0.0114, allocations: 0.5782 MB / 299 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0114, allocations: 0 / 299 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.01156, allocations: 209 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.01157, allocations: 4 kB / 299.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.748e-05/0.01162, allocations: 4 kB / 299.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.01166, allocations: 15.91 kB / 299.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01167, allocations: 4 kB / 299.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.01169, allocations: 21.16 kB / 299.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01169, allocations: 0 / 299.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.01198, allocations: 75.69 kB / 299.3 MB, free: 15.28 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.000281/0.01226, allocations: 172.3 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01241, allocations: 68.95 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.01241, allocations: 4.125 kB / 299.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.01247, allocations: 48.77 kB / 299.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01266, allocations: 23.92 kB / 299.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.0143, allocations: 308.3 kB / 299.9 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.381e-05/0.01435, allocations: 67.34 kB / 300 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.145e-05/0.01444, allocations: 24.36 kB / 300 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.01452, allocations: 67.36 kB / 300.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01452, allocations: 0 / 300.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of Templates: time 0.005438/0.01996, allocations: 2.513 MB / 302.6 MB, free: 11.99 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.251160272397101]