Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.009696/0.009696, allocations: 109.8 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002651/0.002651, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.5 MB / 258.9 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2229/0.2229, allocations: 46.93 MB / 362.3 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 83.86 kB / 0.4982 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3316, allocations: 66.08 MB / 0.5628 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003433/0.335, allocations: 1.839 MB / 0.5646 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.3375, allocations: 1.415 MB / 0.5659 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.3376, allocations: 0 / 0.5659 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3378, allocations: 47.75 kB / 0.566 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.338, allocations: 63.55 kB / 0.566 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.3387, allocations: 247 kB / 0.5663 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3388, allocations: 99.45 kB / 0.5664 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3389, allocations: 5.312 kB / 0.5664 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3391, allocations: 63.66 kB / 0.5664 GB, free: 452 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.3392, allocations: 51.77 kB / 0.5665 GB, free: 400 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3392, allocations: 4 kB / 0.5665 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007496/0.3399, allocations: 0.5068 MB / 0.567 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.3399, allocations: 15.92 kB / 0.567 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.34, allocations: 47.66 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.3405, allocations: 361.2 kB / 0.5674 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3405, allocations: 3.984 kB / 0.5674 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3405, allocations: 0 / 0.5674 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3405, allocations: 8 kB / 0.5674 GB, free: 15.46 MB / 414.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.0006007/0.3411, allocations: 373.3 kB / 0.5678 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3412, allocations: 11.97 kB / 0.5678 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3412, allocations: 8.891 kB / 0.5678 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3414, allocations: 122.4 kB / 0.5679 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3414, allocations: 8.375 kB / 0.5679 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.3414, allocations: 20.11 kB / 0.5679 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.3417, allocations: 149.6 kB / 0.5681 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3417, allocations: 0 / 0.5681 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3418, allocations: 4 kB / 0.5681 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3418, allocations: 4 kB / 0.5681 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.3421, allocations: 135.9 kB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009218/0.343, allocations: 493.9 kB / 0.5687 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.3433, allocations: 102.5 kB / 0.5688 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3434, allocations: 44.83 kB / 0.5688 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.3435, allocations: 0 / 0.5688 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3435, allocations: 42.55 kB / 0.5689 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3435, allocations: 0 / 0.5689 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005107/0.344, allocations: 161.5 kB / 0.569 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3441, allocations: 55.39 kB / 0.5691 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3442, allocations: 121.8 kB / 0.5692 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3442, allocations: 25.7 kB / 0.5692 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.3443, allocations: 115.7 kB / 0.5693 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3443, allocations: 39.69 kB / 0.5693 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.3444, allocations: 37.7 kB / 0.5694 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3446, allocations: 314.8 kB / 0.5697 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3447, allocations: 39.97 kB / 0.5697 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.3448, allocations: 88 kB / 0.5698 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.3451, allocations: 128.9 kB / 0.5699 GB, free: 12.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3451, allocations: 4 kB / 0.5699 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00037/0.3455, allocations: 161.4 kB / 0.5701 GB, free: 12.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.3455, allocations: 4 kB / 0.5701 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3455, allocations: 4 kB / 0.5701 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.3455, allocations: 0 / 0.5701 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.3458, allocations: 48.34 kB / 0.5701 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004636/0.3462, allocations: 0.5938 MB / 0.5707 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3463, allocations: 16.02 kB / 0.5707 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3464, allocations: 8 kB / 0.5707 GB, free: 11.77 MB / 414.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.0001169/0.3465, allocations: 125.7 kB / 0.5709 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.3465, allocations: 11.89 kB / 0.5709 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.347, allocations: 174 kB / 0.571 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.347, allocations: 4 kB / 0.571 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.347, allocations: 3.938 kB / 0.571 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.347, allocations: 0 / 0.571 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.3473, allocations: 180.7 kB / 0.5712 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3473, allocations: 4 kB / 0.5712 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.3475, allocations: 43.97 kB / 0.5713 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3475, allocations: 3.938 kB / 0.5713 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3475, allocations: 7.938 kB / 0.5713 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000547/0.3481, allocations: 0.586 MB / 0.5718 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3481, allocations: 3.938 kB / 0.5719 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.3486, allocations: 291 kB / 0.5721 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.3487, allocations: 27.84 kB / 0.5722 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3487, allocations: 3.938 kB / 0.5722 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3488, allocations: 7.984 kB / 0.5722 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.3489, allocations: 11.98 kB / 0.5722 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3489, allocations: 7.984 kB / 0.5722 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.872e-05/0.349, allocations: 91.34 kB / 0.5723 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.349, allocations: 0 / 0.5723 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.3494, allocations: 79.62 kB / 0.5724 GB, free: 10.03 MB / 414.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.0004326/0.3499, allocations: 174.9 kB / 0.5725 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005081/0.3504, allocations: 123.9 kB / 0.5726 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3504, allocations: 0 / 0.5726 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.3506, allocations: 68.2 kB / 0.5727 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.351, allocations: 12.88 kB / 0.5727 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.3519, allocations: 330.9 kB / 0.573 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.3523, allocations: 0.7156 MB / 0.5737 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.3524, allocations: 19.42 kB / 0.5737 GB, free: 8.531 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3524, allocations: 0 / 0.5737 GB, free: 8.531 MB / 414.1 MB Notification: Performance of Templates: time 0.005654/0.3581, allocations: 2.603 MB / 0.5763 GB, free: 5.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.740390946855769]