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.001783/0.001783, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002164/0.002164, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.549/1.549, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2257/0.2257, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.002397/0.002397, allocations: 76.2 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2913, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003079/0.2944, allocations: 1.827 MB / 0.563 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.2966, allocations: 1.423 MB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.2967, allocations: 0 / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.2969, allocations: 43.75 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.297, allocations: 51.62 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.2976, allocations: 251 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.2977, allocations: 111.4 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.2978, allocations: 5.109 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.2979, allocations: 51.8 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.298, allocations: 55.69 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2981, allocations: 4 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/0.2988, allocations: 0.503 MB / 0.5654 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.2988, allocations: 19.84 kB / 0.5655 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.292e-05/0.2989, allocations: 43.73 kB / 0.5655 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.2994, allocations: 365.6 kB / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2994, allocations: 0 / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2994, allocations: 0 / 0.5658 GB, free: 312 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2994, allocations: 0 / 0.5658 GB, free: 312 kB / 398.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.0006313/0.3001, allocations: 450.5 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.3001, allocations: 12.03 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.3001, allocations: 16.88 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3003, allocations: 180.2 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3003, allocations: 8.375 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3003, allocations: 16.12 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.3006, allocations: 137.6 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3007, allocations: 0 / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.3007, allocations: 8 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3007, allocations: 0 / 0.5666 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.301, allocations: 139.8 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.3019, allocations: 0.5145 MB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.3022, allocations: 98.59 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3023, allocations: 52.75 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.3024, allocations: 4 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3024, allocations: 38.48 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3024, allocations: 0 / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005244/0.3029, allocations: 169.4 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.303, allocations: 51.41 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3031, allocations: 113.8 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3031, allocations: 25.7 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.3032, allocations: 123.6 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3032, allocations: 39.69 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.3033, allocations: 33.7 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3034, allocations: 314.8 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3036, allocations: 39.97 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.3037, allocations: 87.58 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.304, allocations: 128.9 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.304, allocations: 4 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003754/0.3044, allocations: 161.5 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3044, allocations: 4 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3044, allocations: 0 / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3044, allocations: 4 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3047, allocations: 47.91 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004276/0.3051, allocations: 0.5898 MB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3052, allocations: 24.17 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.3052, allocations: 4 kB / 0.5693 GB, free: 12.41 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.0001106/0.3053, allocations: 121.8 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.3054, allocations: 7.953 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.3058, allocations: 178.2 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3058, allocations: 0 / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3058, allocations: 3.938 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3058, allocations: 0 / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.3061, allocations: 217.6 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3061, allocations: 3.938 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.3063, allocations: 39.91 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3063, allocations: 0 / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.3064, allocations: 8 kB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003689/0.3067, allocations: 0.5899 MB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3067, allocations: 3.984 kB / 0.5705 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.3073, allocations: 298.8 kB / 0.5708 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.3074, allocations: 100.9 kB / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3074, allocations: 3.984 kB / 0.5709 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3075, allocations: 8 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3076, allocations: 7.984 kB / 0.5709 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3076, allocations: 4 kB / 0.5709 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.597e-05/0.3076, allocations: 95.2 kB / 0.571 GB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3076, allocations: 0 / 0.571 GB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.308, allocations: 83.67 kB / 0.5711 GB, free: 10.54 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.0003238/0.3083, allocations: 178.9 kB / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.3088, allocations: 127.9 kB / 0.5713 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3088, allocations: 0 / 0.5713 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.309, allocations: 67.89 kB / 0.5714 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.3093, allocations: 8 kB / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.31, allocations: 311.9 kB / 0.5717 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3103, allocations: 0.7116 MB / 0.5724 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.848e-05/0.3104, allocations: 20.77 kB / 0.5724 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.3104, allocations: 15.44 kB / 0.5724 GB, free: 9.055 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3104, allocations: 0 / 0.5724 GB, free: 9.055 MB / 414.1 MB Notification: Performance of Templates: time 0.006421/0.3169, allocations: 2.416 MB / 0.5748 GB, free: 6.684 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 -s gbode -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_2/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_2/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: 5.083692076615989]