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.0008025/0.0008025, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007897/0.0007897, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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.7763/0.7763, allocations: 158.6 MB / 185.7 MB, free: 3.027 MB / 170.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.1183/0.1183, allocations: 32.37 MB / 270.4 MB, free: 14.98 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|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|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.172e-06/1.172e-06, allocations: 3.938 kB / 408.1 MB, free: 1.691 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.774e-05, allocations: 9.656 kB / 408.1 MB, free: 1.684 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001817/0.001835, allocations: 1.772 MB / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003125, allocations: 1.263 MB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.003179, allocations: 4 kB / 411.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.003349, allocations: 39.7 kB / 411.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.003483, allocations: 55.56 kB / 411.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.003818, allocations: 251 kB / 411.5 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003918, allocations: 107.3 kB / 411.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.003956, allocations: 5.312 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.004069, allocations: 67.69 kB / 411.7 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.004127, allocations: 39.89 kB / 411.7 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.004146, allocations: 4 kB / 411.7 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.004457, allocations: 303.3 kB / 412 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.004479, allocations: 23.91 kB / 412.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.004507, allocations: 27.86 kB / 412.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.004829, allocations: 323 kB / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.004831, allocations: 0 / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004832, allocations: 0 / 412.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004836, allocations: 0 / 412.4 MB, free: 13.39 MB / 394.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.0004128/0.005249, allocations: 377.3 kB / 412.8 MB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.005284, allocations: 12.03 kB / 412.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.005318, allocations: 8.891 kB / 412.8 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.005395, allocations: 117.6 kB / 412.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005409, allocations: 12.38 kB / 412.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.005436, allocations: 12.38 kB / 412.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.005632, allocations: 142.2 kB / 413.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.005642, allocations: 3.938 kB / 413.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.005655, allocations: 11.94 kB / 413.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00566, allocations: 4 kB / 413.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.005831, allocations: 139.9 kB / 413.2 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.006414, allocations: 411.2 kB / 413.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.006573, allocations: 86.66 kB / 413.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.006641, allocations: 48.83 kB / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.006662, allocations: 0 / 413.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.006677, allocations: 30.56 kB / 413.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.006678, allocations: 0 / 413.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002875/0.006965, allocations: 177.4 kB / 414 MB, free: 11.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.006992, allocations: 55.41 kB / 414 MB, free: 11.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.00705, allocations: 113.8 kB / 414.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.007062, allocations: 25.7 kB / 414.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.007115, allocations: 119.6 kB / 414.3 MB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.007139, allocations: 43.69 kB / 414.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.007175, allocations: 33.66 kB / 414.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.007252, allocations: 322.8 kB / 414.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.007316, allocations: 39.97 kB / 414.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.007392, allocations: 77.12 kB / 414.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.007537, allocations: 133.3 kB / 414.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.007539, allocations: 0 / 414.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001884/0.007728, allocations: 161.5 kB / 415.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007741, allocations: 7.938 kB / 415.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.007748, allocations: 4 kB / 415.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.00776, allocations: 0 / 415.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.007883, allocations: 51.91 kB / 415.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006008/0.008484, allocations: 0.5862 MB / 415.7 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.008534, allocations: 19.88 kB / 415.7 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.008544, allocations: 8 kB / 415.7 MB, free: 9.816 MB / 394.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.174e-05/0.008616, allocations: 121.7 kB / 415.9 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.008632, allocations: 11.94 kB / 415.9 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.008875, allocations: 170.4 kB / 416 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008877, allocations: 0 / 416 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.008882, allocations: 0 / 416 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008885, allocations: 0 / 416 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.009012, allocations: 153.2 kB / 416.2 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009013, allocations: 0 / 416.2 MB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.273e-05/0.009106, allocations: 47.91 kB / 416.2 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.009108, allocations: 0 / 416.2 MB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.009118, allocations: 8 kB / 416.2 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001872/0.009305, allocations: 0.5899 MB / 416.8 MB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.009306, allocations: 0 / 416.8 MB, free: 8.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.009569, allocations: 299.5 kB / 417.1 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.009603, allocations: 15.91 kB / 417.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.009619, allocations: 11.98 kB / 417.2 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.878e-05/0.009668, allocations: 4 kB / 417.2 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.009709, allocations: 19.91 kB / 417.2 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.009715, allocations: 8.156 kB / 417.2 MB, free: 8.293 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.106e-05/0.009746, allocations: 95.2 kB / 417.3 MB, free: 8.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009746, allocations: 0 / 417.3 MB, free: 8.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000212/0.009958, allocations: 67.75 kB / 417.3 MB, free: 8.133 MB / 394.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.0002096/0.01017, allocations: 178.9 kB / 417.5 MB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01039, allocations: 119.8 kB / 417.6 MB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.01039, allocations: 4 kB / 417.6 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.01048, allocations: 63.95 kB / 417.7 MB, free: 7.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01068, allocations: 12.31 kB / 417.7 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.01116, allocations: 323.1 kB / 418 MB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.01123, allocations: 93.25 kB / 418.1 MB, free: 7.289 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.01127, allocations: 32.47 kB / 418.2 MB, free: 7.258 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01127, allocations: 0 / 418.2 MB, free: 7.258 MB / 394.7 MB Notification: Performance of Templates: time 0.002954/0.01422, allocations: 2.572 MB / 420.7 MB, free: 4.684 MB / 394.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.66979455947876]