Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001022/0.001022, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002498, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001046/0.001046, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002471, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9888/0.9888, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1883/1.177, allocations: 49.49 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1325/0.1325, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02599/0.1585, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.143e-05, allocations: 2.312 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002535/0.002557, allocations: 1.895 MB / 269.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.004455, allocations: 1.376 MB / 270.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.004533, allocations: 0 / 270.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.004702, allocations: 43.7 kB / 270.5 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.004828, allocations: 59.55 kB / 270.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.005384, allocations: 231 kB / 270.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.005529, allocations: 119.3 kB / 270.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.005584, allocations: 9.953 kB / 271 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.005763, allocations: 63.77 kB / 271 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.005847, allocations: 39.89 kB / 271.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.005862, allocations: 4 kB / 271.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.006347, allocations: 323.3 kB / 271.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.006376, allocations: 11.94 kB / 271.4 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.006419, allocations: 19.94 kB / 271.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.006856, allocations: 275.1 kB / 271.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.633e-05/0.006882, allocations: 0 / 271.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.006883, allocations: 0 / 271.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.006907, allocations: 0 / 271.7 MB, free: 2.039 MB / 266.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.0006229/0.00753, allocations: 371.8 kB / 272 MB, free: 1.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.007565, allocations: 11.97 kB / 272 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.007607, allocations: 24.92 kB / 272.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.007712, allocations: 121.6 kB / 272.2 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.007729, allocations: 8.375 kB / 272.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.007756, allocations: 12.38 kB / 272.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.007932, allocations: 121.6 kB / 272.3 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.007943, allocations: 7.938 kB / 272.3 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.007953, allocations: 4 kB / 272.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.00796, allocations: 4 kB / 272.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.008028, allocations: 39.97 kB / 272.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.008598, allocations: 340.7 kB / 272.7 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.008718, allocations: 62.48 kB / 272.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.008752, allocations: 28.78 kB / 272.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.008777, allocations: 4 kB / 272.8 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.0088, allocations: 34.56 kB / 272.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.008801, allocations: 0 / 272.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004861/0.009287, allocations: 81.59 kB / 272.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.009316, allocations: 55.41 kB / 273 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.009381, allocations: 126.6 kB / 273.1 MB, free: 488 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.009393, allocations: 29.7 kB / 273.1 MB, free: 452 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.009439, allocations: 111.9 kB / 273.2 MB, free: 336 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.009464, allocations: 47.62 kB / 273.3 MB, free: 288 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.009501, allocations: 33.69 kB / 273.3 MB, free: 248 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.009594, allocations: 318.8 kB / 273.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.009616, allocations: 11.98 kB / 273.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.285e-05/0.009658, allocations: 49.14 kB / 273.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.825e-05/0.009747, allocations: 92.98 kB / 273.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.009749, allocations: 0 / 273.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001113/0.00986, allocations: 101.8 kB / 273.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.009876, allocations: 4 kB / 273.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.009884, allocations: 4 kB / 273.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.009899, allocations: 7.938 kB / 273.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.01006, allocations: 43.97 kB / 273.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002959/0.01036, allocations: 0.5861 MB / 274.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.01042, allocations: 19.89 kB / 274.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01043, allocations: 4 kB / 274.5 MB, free: 14.94 MB / 282.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 7.925e-05/0.01051, allocations: 113.8 kB / 274.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.01053, allocations: 11.92 kB / 274.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.0107, allocations: 114.4 kB / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01071, allocations: 4 kB / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01071, allocations: 0 / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01071, allocations: 0 / 274.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.01086, allocations: 101.8 kB / 274.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01087, allocations: 3.984 kB / 274.9 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.01097, allocations: 35.98 kB / 274.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.011, allocations: 23.8 kB / 274.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.011, allocations: 4 kB / 275 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01101, allocations: 4 kB / 275 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001874/0.0112, allocations: 0.586 MB / 275.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0112, allocations: 0 / 275.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.01133, allocations: 203.4 kB / 275.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.01135, allocations: 4 kB / 275.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.01139, allocations: 7.938 kB / 275.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.01143, allocations: 11.97 kB / 275.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01144, allocations: 7.984 kB / 275.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.807e-05/0.01146, allocations: 12.86 kB / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01146, allocations: 0 / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.01173, allocations: 83.72 kB / 275.9 MB, free: 13.54 MB / 282.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.0002475/0.01198, allocations: 160.1 kB / 276 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01211, allocations: 68.77 kB / 276.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01212, allocations: 0 / 276.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.01217, allocations: 44.78 kB / 276.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.01233, allocations: 27.91 kB / 276.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.01382, allocations: 304.4 kB / 276.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.673e-05/0.01387, allocations: 67.34 kB / 276.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.01393, allocations: 20.7 kB / 276.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.01401, allocations: 67.38 kB / 276.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01401, allocations: 0 / 276.6 MB, free: 12.73 MB / 282.7 MB Notification: Performance of Templates: time 0.004261/0.01827, allocations: 2.412 MB / 279 MB, free: 10.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9923242330551147]