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.0009542/0.0009542, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001145/0.001145, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9815/0.9815, allocations: 177.1 MB / 205 MB, free: 5.605 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.2755/0.2755, allocations: 32.8 MB / 294.3 MB, free: 1.277 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.432e-06/1.432e-06, allocations: 3.938 kB / 376.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.136e-05, allocations: 2.312 kB / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002277/0.002298, allocations: 1.867 MB / 377.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.003972, allocations: 1.367 MB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.004032, allocations: 0 / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.004232, allocations: 39.7 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.00438, allocations: 63.55 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.004835, allocations: 243 kB / 379.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.004947, allocations: 111.3 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.004985, allocations: 13.3 kB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.005175, allocations: 67.7 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.005235, allocations: 43.81 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.00525, allocations: 4 kB / 379.9 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.005628, allocations: 311.4 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.005647, allocations: 15.86 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.005685, allocations: 31.91 kB / 380.2 MB, free: 456 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.006036, allocations: 330.8 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.006039, allocations: 4 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00604, allocations: 4 kB / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.006044, allocations: 0 / 380.5 MB, free: 116 kB / 346.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.0004496/0.006494, allocations: 463.8 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.00653, allocations: 12.03 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.006584, allocations: 24.84 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.006672, allocations: 120.5 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.006687, allocations: 8.375 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.006715, allocations: 12.38 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.006906, allocations: 131.3 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006915, allocations: 3.938 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.006929, allocations: 8 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.006938, allocations: 4 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.007029, allocations: 63.95 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.007672, allocations: 454.5 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.007819, allocations: 83.09 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.007865, allocations: 35.66 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.007884, allocations: 0 / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.007906, allocations: 45.39 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.007907, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002213/0.008129, allocations: 113.5 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.008161, allocations: 59.34 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.008246, allocations: 177.9 kB / 382.3 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.008258, allocations: 25.7 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.008317, allocations: 162.5 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.008342, allocations: 39.69 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.008382, allocations: 39.36 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.008496, allocations: 0.4923 MB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.008526, allocations: 12 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.008587, allocations: 86.09 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.008687, allocations: 110 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.00869, allocations: 3.938 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000151/0.008841, allocations: 129.8 kB / 383.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.008854, allocations: 16.08 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.00886, allocations: 4 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.008872, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.008995, allocations: 39.98 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003379/0.009333, allocations: 0.901 MB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.009382, allocations: 11.89 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.009394, allocations: 12 kB / 384.4 MB, free: 11.97 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.1e-05/0.009475, allocations: 164.5 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.009496, allocations: 15.95 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.00969, allocations: 133.8 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.009693, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.009698, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.009703, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.009855, allocations: 168.4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009856, allocations: 4 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.009949, allocations: 39.92 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.009953, allocations: 4 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.009966, allocations: 7.984 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002727/0.01024, allocations: 0.8933 MB / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01024, allocations: 0 / 385.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.01043, allocations: 287.7 kB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.01046, allocations: 19.88 kB / 386.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.01048, allocations: 0 / 386.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.01053, allocations: 12.08 kB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.01057, allocations: 11.98 kB / 386.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.01058, allocations: 15.88 kB / 386.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.01062, allocations: 131.5 kB / 386.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0 / 386.3 MB, free: 9.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002495/0.01087, allocations: 87.62 kB / 386.4 MB, free: 9.895 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.0002783/0.01115, allocations: 186.9 kB / 386.6 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.01136, allocations: 91.52 kB / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01136, allocations: 0 / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.01143, allocations: 59.66 kB / 386.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.01162, allocations: 8.312 kB / 386.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.01231, allocations: 306.4 kB / 387 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.01235, allocations: 71.28 kB / 387.1 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.0124, allocations: 16.48 kB / 387.1 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.01243, allocations: 20.5 kB / 387.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01243, allocations: 0 / 387.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of Templates: time 0.004984/0.01741, allocations: 2.756 MB / 389.9 MB, free: 6.371 MB / 362.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 -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.178965935949236]