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.001445/0.001445, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002259/0.002259, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.502/1.502, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2368/0.2368, allocations: 46.93 MB / 361.6 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 179] 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.002301/0.002301, allocations: 83.86 kB / 0.4975 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3778, allocations: 66.08 MB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003291/0.3811, allocations: 1.83 MB / 0.5638 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3836, allocations: 1.431 MB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.3836, allocations: 0 / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.3839, allocations: 39.77 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.3841, allocations: 55.62 kB / 0.5653 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.3847, allocations: 243.1 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.3849, allocations: 111.4 kB / 0.5656 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.3849, allocations: 5.312 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.3852, allocations: 55.72 kB / 0.5657 GB, free: 472 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3853, allocations: 55.7 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.3854, allocations: 4 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009231/0.3863, allocations: 0.5069 MB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.3863, allocations: 23.86 kB / 0.5663 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.3864, allocations: 39.73 kB / 0.5663 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.387, allocations: 361.3 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.387, allocations: 0 / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.387, allocations: 0 / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.387, allocations: 0 / 0.5666 GB, free: 15.48 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.0007816/0.3878, allocations: 381.3 kB / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.3879, allocations: 8.031 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.3879, allocations: 12.89 kB / 0.567 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3881, allocations: 130.3 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3881, allocations: 8.375 kB / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.3882, allocations: 16.12 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.3885, allocations: 145.5 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3885, allocations: 0 / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.3886, allocations: 8 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3886, allocations: 4 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.3889, allocations: 147.8 kB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009924/0.3899, allocations: 493.9 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.3902, allocations: 90.59 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3903, allocations: 48.83 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3903, allocations: 0 / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3904, allocations: 38.5 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.3904, allocations: 0 / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005068/0.3909, allocations: 161.5 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3909, allocations: 55.41 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.391, allocations: 121.8 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3911, allocations: 29.69 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.3911, allocations: 115.7 kB / 0.5686 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.3912, allocations: 35.69 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.3913, allocations: 37.7 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3914, allocations: 314.8 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3915, allocations: 47.97 kB / 0.569 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3917, allocations: 80.98 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.392, allocations: 133 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.392, allocations: 0 / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003482/0.3923, allocations: 161.9 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3923, allocations: 8 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3923, allocations: 7.984 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3924, allocations: 0 / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3926, allocations: 51.91 kB / 0.5694 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004358/0.393, allocations: 0.5859 MB / 0.57 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.3931, allocations: 8.031 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3931, allocations: 16.08 kB / 0.57 GB, free: 11.78 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.0001204/0.3933, allocations: 125.7 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.3933, allocations: 4.328 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.3937, allocations: 177.9 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3938, allocations: 4 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.3938, allocations: 7.922 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3938, allocations: 0 / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.394, allocations: 188.6 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3941, allocations: 0 / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.3942, allocations: 43.97 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3943, allocations: 0 / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3943, allocations: 4 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003763/0.3946, allocations: 0.5937 MB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3946, allocations: 0 / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.3952, allocations: 287.4 kB / 0.5714 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.3952, allocations: 20 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.3953, allocations: 12 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3954, allocations: 7.984 kB / 0.5714 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.3955, allocations: 15.92 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3955, allocations: 4 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.771e-05/0.3955, allocations: 91.27 kB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3955, allocations: 0 / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.396, allocations: 79.62 kB / 0.5716 GB, free: 10.04 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.0003878/0.3964, allocations: 174.9 kB / 0.5718 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000426/0.3968, allocations: 124 kB / 0.5719 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3968, allocations: 0 / 0.5719 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.397, allocations: 75.27 kB / 0.572 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3973, allocations: 8.875 kB / 0.572 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.3981, allocations: 308.6 kB / 0.5723 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.3985, allocations: 0.7078 MB / 0.573 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.858e-05/0.3986, allocations: 28.62 kB / 0.573 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.3987, allocations: 15.44 kB / 0.573 GB, free: 8.551 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3987, allocations: 0 / 0.573 GB, free: 8.551 MB / 414.1 MB Notification: Performance of Templates: time 0.006724/0.4054, allocations: 2.448 MB / 0.5754 GB, free: 6.145 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/jenkins/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/jenkins/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: 5.560136782005429]