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.001462/0.001462, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001672/0.001672, allocations: 169.9 kB / 24.91 MB, free: 9.199 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2399/0.2399, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.303e-06/1.303e-06, allocations: 0 / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.218e-05, allocations: 4.219 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.004309/0.004331, allocations: 1.859 MB / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.006078, allocations: 1.375 MB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.006135, allocations: 0 / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.006314, allocations: 39.78 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.006556, allocations: 59.48 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.00704, allocations: 255 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.00716, allocations: 107.3 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.007196, allocations: 6.594 kB / 326.9 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.007368, allocations: 75.69 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.567e-05/0.007433, allocations: 35.89 kB / 327.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.007447, allocations: 4 kB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.007852, allocations: 319.2 kB / 327.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.007871, allocations: 15.92 kB / 327.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.007909, allocations: 35.84 kB / 327.4 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.008297, allocations: 330.8 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.0083, allocations: 0 / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.0083, allocations: 0 / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.008303, allocations: 0 / 327.7 MB, free: 5.168 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.0003739/0.008677, allocations: 346 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.008707, allocations: 8.031 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.008746, allocations: 20.94 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.008823, allocations: 121.6 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.008837, allocations: 8.375 kB / 328.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.008867, allocations: 16.38 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.009023, allocations: 118.2 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.009033, allocations: 7.922 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.009045, allocations: 8 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.009052, allocations: 4 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.009121, allocations: 43.97 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.009637, allocations: 336.7 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.009752, allocations: 71.45 kB / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.009782, allocations: 16.86 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.009797, allocations: 7.938 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.009819, allocations: 38.55 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.00982, allocations: 4 kB / 328.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001517/0.009971, allocations: 80.72 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.009996, allocations: 55.41 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/0.01005, allocations: 118.7 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.01006, allocations: 29.7 kB / 329.2 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.01011, allocations: 119.8 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.01013, allocations: 43.62 kB / 329.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.01017, allocations: 29.7 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.01025, allocations: 322.8 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.01027, allocations: 8 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.01031, allocations: 57.12 kB / 329.7 MB, free: 3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.034e-05/0.0104, allocations: 96.91 kB / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.0104, allocations: 0 / 329.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001099/0.01051, allocations: 93.53 kB / 329.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.01052, allocations: 4 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01053, allocations: 4 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.01054, allocations: 3.938 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.01067, allocations: 39.97 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002187/0.01089, allocations: 0.5861 MB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.01095, allocations: 15.89 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.01096, allocations: 8 kB / 330.6 MB, free: 2.105 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.19e-05/0.01102, allocations: 117.8 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.01105, allocations: 11.92 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.0112, allocations: 106.4 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.0112, allocations: 0 / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.0112, allocations: 4 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.0112, allocations: 3.984 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01136, allocations: 105.8 kB / 330.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.01136, allocations: 0 / 330.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.01147, allocations: 35.92 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.01147, allocations: 3.938 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01148, allocations: 3.984 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001961/0.01167, allocations: 0.5899 MB / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01168, allocations: 0 / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.01182, allocations: 195.4 kB / 331.8 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.01185, allocations: 23.89 kB / 331.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.01187, allocations: 3.984 kB / 331.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.01193, allocations: 4 kB / 331.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.01196, allocations: 11.98 kB / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01197, allocations: 0 / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.746e-05/0.01198, allocations: 20.83 kB / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01198, allocations: 0 / 331.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.01227, allocations: 87.77 kB / 331.9 MB, free: 0.7031 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.0002193/0.01249, allocations: 160.1 kB / 332.1 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.01264, allocations: 82.94 kB / 332.1 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01264, allocations: 0 / 332.1 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/0.01271, allocations: 48.83 kB / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.01287, allocations: 19.86 kB / 332.2 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.01351, allocations: 304.3 kB / 332.5 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.014e-05/0.01356, allocations: 63.34 kB / 332.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.01361, allocations: 24.7 kB / 332.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.01368, allocations: 67.36 kB / 332.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01368, allocations: 0 / 332.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of Templates: time 0.005237/0.01892, allocations: 2.664 MB / 335.3 MB, free: 13.29 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 -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.3278286028653383]