Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009972/0.0009972, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001087/0.001087, allocations: 168.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9595/0.9595, allocations: 177.2 MB / 206.1 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1501/0.1501, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.983e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003216/0.003245, allocations: 1.851 MB / 379.2 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.005144, allocations: 1.352 MB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.00522, allocations: 0 / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.005418, allocations: 31.78 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.005578, allocations: 67.48 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.006155, allocations: 247 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.006296, allocations: 107.4 kB / 381 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.006337, allocations: 9.312 kB / 381 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.006572, allocations: 75.67 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.006644, allocations: 35.84 kB / 381.1 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.006659, allocations: 4 kB / 381.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.007115, allocations: 311.3 kB / 381.4 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.007139, allocations: 19.86 kB / 381.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.007176, allocations: 35.91 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.007592, allocations: 322.9 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.007595, allocations: 0 / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007596, allocations: 4 kB / 381.8 MB, free: 21.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.007601, allocations: 0 / 381.8 MB, free: 21.1 MB / 314.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.0004031/0.008004, allocations: 471.7 kB / 382.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.008041, allocations: 11.98 kB / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.008092, allocations: 24.84 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.008169, allocations: 120.4 kB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.008186, allocations: 12.38 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.008213, allocations: 12.38 kB / 382.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.008399, allocations: 115.9 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.008411, allocations: 3.938 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.008424, allocations: 8 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.008433, allocations: 7.938 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.008522, allocations: 55.89 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.009147, allocations: 435.1 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.009298, allocations: 79.12 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.009339, allocations: 23.69 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.009359, allocations: 7.922 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.009382, allocations: 37.39 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.009383, allocations: 4 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002266/0.00961, allocations: 104.8 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.009634, allocations: 51.41 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.009704, allocations: 181.8 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.009715, allocations: 25.7 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.00976, allocations: 162.6 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.009787, allocations: 43.61 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.009835, allocations: 39.36 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.009885, allocations: 0.4883 MB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.009917, allocations: 15.98 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.009972, allocations: 78.09 kB / 384.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.01007, allocations: 98.03 kB / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01007, allocations: 0 / 384.4 MB, free: 18.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001666/0.01024, allocations: 125.4 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.01025, allocations: 12.16 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01026, allocations: 0 / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01027, allocations: 7.938 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.01044, allocations: 43.91 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002106/0.01065, allocations: 0.8932 MB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.01073, allocations: 19.89 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.01074, allocations: 4 kB / 385.5 MB, free: 17.05 MB / 314.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 6.858e-05/0.01081, allocations: 164.5 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.01085, allocations: 16 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.01106, allocations: 126.3 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01106, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01106, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01106, allocations: 4 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.01124, allocations: 137.1 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01124, allocations: 0 / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.01139, allocations: 43.97 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.0114, allocations: 3.938 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01141, allocations: 4 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001997/0.01161, allocations: 0.8971 MB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01161, allocations: 0 / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.01184, allocations: 271.8 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.01188, allocations: 15.94 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.0119, allocations: 3.984 kB / 387.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.394e-05/0.01198, allocations: 12 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.01202, allocations: 16.06 kB / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.01203, allocations: 4 kB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.983e-05/0.01206, allocations: 139.1 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01206, allocations: 0 / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.01247, allocations: 83.58 kB / 387.4 MB, free: 15.04 MB / 314.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.0002754/0.01274, allocations: 182.9 kB / 387.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.01294, allocations: 95.48 kB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01294, allocations: 0 / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.01303, allocations: 55.59 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01332, allocations: 15.16 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007676/0.01409, allocations: 310.6 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.01412, allocations: 71.28 kB / 388.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.0142, allocations: 16.7 kB / 388.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.01428, allocations: 82.2 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01428, allocations: 4 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of Templates: time 0.005822/0.0201, allocations: 2.748 MB / 391 MB, free: 11.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.2843211949802935]