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.0009876/0.0009876, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001053/0.001053, allocations: 171.8 kB / 24.92 MB, free: 8.723 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 0.9499/0.9499, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.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.2858/0.2858, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.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.372e-06/1.372e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.12e-05, allocations: 7.078 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002331/0.002353, allocations: 1.901 MB / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.003973, allocations: 1.375 MB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.004032, allocations: 0 / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.004239, allocations: 39.7 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.004377, allocations: 63.55 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.00482, allocations: 238.9 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.004933, allocations: 111.3 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.004969, allocations: 14.58 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.00518, allocations: 67.7 kB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.005245, allocations: 43.81 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.005259, allocations: 4 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.005669, allocations: 323.3 kB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.00569, allocations: 23.84 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.005718, allocations: 27.86 kB / 327.5 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.006083, allocations: 326.9 kB / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006086, allocations: 0 / 327.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006086, allocations: 4 kB / 327.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.00609, allocations: 0 / 327.8 MB, free: 5.082 MB / 298.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.0003357/0.006426, allocations: 342 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.006459, allocations: 12.03 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.006493, allocations: 16.92 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/0.006575, allocations: 121.6 kB / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.006587, allocations: 8.375 kB / 328.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.00661, allocations: 12.38 kB / 328.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.006761, allocations: 118.2 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.006768, allocations: 3.938 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.006779, allocations: 12 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.006783, allocations: 0 / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.006838, allocations: 47.97 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.007306, allocations: 344.6 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.007405, allocations: 62.53 kB / 328.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.007434, allocations: 24.84 kB / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.007451, allocations: 4 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.00747, allocations: 34.56 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.007471, allocations: 0 / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001379/0.007609, allocations: 95.22 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.007635, allocations: 55.41 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.007691, allocations: 114.7 kB / 329.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.007702, allocations: 29.7 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.007745, allocations: 115.8 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.007767, allocations: 43.62 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.007802, allocations: 37.69 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.00787, allocations: 314.8 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.007889, allocations: 19.98 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.007926, allocations: 55.95 kB / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.657e-05/0.008002, allocations: 84.98 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.008004, allocations: 0 / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.836e-05/0.008102, allocations: 103 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.008113, allocations: 8 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008118, allocations: 0 / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.00813, allocations: 7.938 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.008253, allocations: 43.91 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002132/0.008466, allocations: 0.5743 MB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.008516, allocations: 23.88 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.008525, allocations: 4 kB / 330.7 MB, free: 2.02 MB / 298.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.029e-05/0.008585, allocations: 125.8 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.008605, allocations: 11.92 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.008743, allocations: 103.1 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.008747, allocations: 4 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.008748, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008751, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.00887, allocations: 101.8 kB / 331 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008872, allocations: 0 / 331 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/0.008965, allocations: 43.91 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008968, allocations: 3.938 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008977, allocations: 8 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001753/0.009152, allocations: 0.5782 MB / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009153, allocations: 0 / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.009284, allocations: 209.8 kB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.009312, allocations: 11.89 kB / 331.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.009325, allocations: 4 kB / 331.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.009369, allocations: 12.08 kB / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.009399, allocations: 7.984 kB / 331.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.009404, allocations: 4 kB / 331.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.492e-05/0.009419, allocations: 20.84 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009419, allocations: 0 / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.009621, allocations: 75.69 kB / 332 MB, free: 0.625 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.0002007/0.009821, allocations: 176 kB / 332.2 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.009959, allocations: 76.7 kB / 332.2 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.009962, allocations: 0 / 332.2 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.01002, allocations: 49.08 kB / 332.3 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.01015, allocations: 23.19 kB / 332.3 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.01073, allocations: 297.3 kB / 332.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.01076, allocations: 71.34 kB / 332.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.01081, allocations: 12.48 kB / 332.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.01087, allocations: 63.38 kB / 332.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01087, allocations: 0 / 332.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.004166/0.01504, allocations: 2.671 MB / 335.4 MB, free: 13.2 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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: 2.907103344798088]