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.001983/0.001983, allocations: 75.28 kB / 19.93 MB, free: 1.781 MB / 14.72 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.002434/0.002434, allocations: 165.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.547/1.547, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] 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.211/0.211, allocations: 32.38 MB / 269.6 MB, free: 2.73 MB / 254.1 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|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|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.493e-06/1.493e-06, allocations: 0 / 407.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.306e-05, allocations: 6.281 kB / 407.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003242/0.003275, allocations: 1.769 MB / 409.2 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.005733, allocations: 1.271 MB / 410.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.616e-05/0.005809, allocations: 4 kB / 410.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.00605, allocations: 35.78 kB / 410.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.006264, allocations: 67.47 kB / 410.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.006909, allocations: 243 kB / 410.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.00713, allocations: 111.3 kB / 410.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.007191, allocations: 9.312 kB / 410.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.007406, allocations: 63.7 kB / 411 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.007525, allocations: 43.88 kB / 411 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.00755, allocations: 4 kB / 411 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006137/0.008163, allocations: 303.3 kB / 411.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.008197, allocations: 15.92 kB / 411.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.008264, allocations: 31.84 kB / 411.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006178/0.008882, allocations: 323 kB / 411.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.008886, allocations: 7.938 kB / 411.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.008887, allocations: 0 / 411.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.008899, allocations: 0 / 411.7 MB, free: 12.49 MB / 350.1 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.0007715/0.00967, allocations: 373.4 kB / 412 MB, free: 12.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.009719, allocations: 12.03 kB / 412.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.00977, allocations: 8.891 kB / 412.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.009936, allocations: 117.6 kB / 412.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.009952, allocations: 8.375 kB / 412.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.009997, allocations: 12.38 kB / 412.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.01034, allocations: 142.2 kB / 412.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01035, allocations: 7.875 kB / 412.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.01037, allocations: 4 kB / 412.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.01038, allocations: 4 kB / 412.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.01073, allocations: 135.9 kB / 412.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.01171, allocations: 407.3 kB / 412.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.01201, allocations: 98.58 kB / 413 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.01217, allocations: 48.83 kB / 413 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.01219, allocations: 0 / 413 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.01222, allocations: 30.56 kB / 413.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.01222, allocations: 7.938 kB / 413.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00056/0.01278, allocations: 161.4 kB / 413.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.01286, allocations: 63.41 kB / 413.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.01297, allocations: 109.8 kB / 413.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.01299, allocations: 29.7 kB / 413.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.01309, allocations: 119.6 kB / 413.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.01313, allocations: 39.69 kB / 413.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.0132, allocations: 33.66 kB / 413.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.01339, allocations: 318.8 kB / 413.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.01352, allocations: 35.97 kB / 414 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.01368, allocations: 85.11 kB / 414 MB, free: 9.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.014, allocations: 136.9 kB / 414.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.014, allocations: 0 / 414.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003934/0.0144, allocations: 153.5 kB / 414.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.01442, allocations: 7.938 kB / 414.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01442, allocations: 4 kB / 414.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01444, allocations: 0 / 414.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.0147, allocations: 47.97 kB / 414.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004813/0.01518, allocations: 0.5899 MB / 415 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.0153, allocations: 19.88 kB / 415 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.01531, allocations: 8.219 kB / 415 MB, free: 8.93 MB / 350.1 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 0.0001415/0.01546, allocations: 125.8 kB / 415.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.01549, allocations: 4 kB / 415.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.016, allocations: 190.1 kB / 415.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.016, allocations: 0 / 415.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01601, allocations: 4 kB / 415.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01601, allocations: 0 / 415.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.01626, allocations: 149.2 kB / 415.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01626, allocations: 0 / 415.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.01647, allocations: 39.97 kB / 415.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01648, allocations: 0 / 415.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.01649, allocations: 8 kB / 415.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004065/0.0169, allocations: 0.5821 MB / 416.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0169, allocations: 0 / 416.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.01749, allocations: 299.4 kB / 416.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.01754, allocations: 23.91 kB / 416.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.01756, allocations: 0 / 416.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01768, allocations: 7.984 kB / 416.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.01775, allocations: 15.92 kB / 416.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01776, allocations: 11.92 kB / 416.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.383e-05/0.01782, allocations: 91.22 kB / 416.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01782, allocations: 0 / 416.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.01826, allocations: 79.8 kB / 416.6 MB, free: 7.23 MB / 350.1 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.0004166/0.01868, allocations: 170.9 kB / 416.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.01913, allocations: 120.4 kB / 416.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01913, allocations: 4 kB / 416.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.01935, allocations: 68.14 kB / 417 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.01971, allocations: 12 kB / 417 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.02045, allocations: 289.7 kB / 417.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.956e-05/0.02054, allocations: 89.31 kB / 417.3 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.893e-05/0.02062, allocations: 24.69 kB / 417.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.02066, allocations: 16.5 kB / 417.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.02066, allocations: 4 kB / 417.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of Templates: time 0.006685/0.02735, allocations: 2.274 MB / 419.7 MB, free: 4.141 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.440888974815607]