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.001068/0.001068, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001296/0.001296, allocations: 177 kB / 24.06 MB, free: 452 kB / 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.8942/0.8942, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1426/0.1426, allocations: 32.38 MB / 270.7 MB, free: 14.54 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 2.124e-06/2.124e-06, allocations: 0 / 348.2 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.127e-05, allocations: 2.312 kB / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003045/0.003077, allocations: 1.852 MB / 350 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.005377, allocations: 1.341 MB / 351.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.005523, allocations: 0 / 351.4 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.005834, allocations: 43.69 kB / 351.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.00606, allocations: 55.62 kB / 351.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008506/0.006911, allocations: 246.9 kB / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.00711, allocations: 115.3 kB / 351.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.007153, allocations: 5.312 kB / 351.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.007359, allocations: 67.75 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.007445, allocations: 35.89 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.007464, allocations: 4 kB / 351.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.008048, allocations: 303.3 kB / 352.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.008095, allocations: 23.8 kB / 352.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.008155, allocations: 27.91 kB / 352.3 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.008752, allocations: 315 kB / 352.6 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008756, allocations: 0 / 352.6 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.008758, allocations: 4 kB / 352.6 MB, free: 4.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.008764, allocations: 0 / 352.6 MB, free: 4.711 MB / 282.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.0006417/0.009406, allocations: 471.7 kB / 353 MB, free: 4.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/0.009475, allocations: 8.031 kB / 353 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.009543, allocations: 24.84 kB / 353.1 MB, free: 4.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.009646, allocations: 120.5 kB / 353.2 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.009665, allocations: 8.375 kB / 353.2 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.0097, allocations: 16.31 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.009908, allocations: 118.9 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.009921, allocations: 3.938 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.009935, allocations: 8 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.009944, allocations: 4 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.261e-05/0.01003, allocations: 43.95 kB / 353.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.01078, allocations: 427.1 kB / 353.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.01095, allocations: 83.02 kB / 353.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.011, allocations: 27.67 kB / 353.9 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.01104, allocations: 4 kB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.01107, allocations: 41.39 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.01107, allocations: 0 / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002783/0.01135, allocations: 105.5 kB / 354.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.01138, allocations: 51.41 kB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.01145, allocations: 177.8 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.01147, allocations: 25.7 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.01153, allocations: 170.5 kB / 354.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.01156, allocations: 39.67 kB / 354.5 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.01161, allocations: 35.36 kB / 354.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.01168, allocations: 0.4884 MB / 355 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.01172, allocations: 15.98 kB / 355 MB, free: 2.039 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.01178, allocations: 86.02 kB / 355.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.01191, allocations: 102.4 kB / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.01192, allocations: 0 / 355.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002261/0.01214, allocations: 117.4 kB / 355.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.01216, allocations: 12.16 kB / 355.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.01218, allocations: 0 / 355.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01219, allocations: 11.88 kB / 355.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.01237, allocations: 43.97 kB / 355.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002952/0.01266, allocations: 0.8932 MB / 356.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.01274, allocations: 15.94 kB / 356.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01275, allocations: 8 kB / 356.3 MB, free: 0.6719 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.45e-05/0.01282, allocations: 168.5 kB / 356.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.01286, allocations: 15.95 kB / 356.5 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.01307, allocations: 122.4 kB / 356.6 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01308, allocations: 3.984 kB / 356.6 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01308, allocations: 0 / 356.6 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01308, allocations: 3.984 kB / 356.6 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.01329, allocations: 141.2 kB / 356.8 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01329, allocations: 0 / 356.8 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.01342, allocations: 39.92 kB / 356.8 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.01343, allocations: 7.922 kB / 356.8 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.01345, allocations: 8 kB / 356.8 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004409/0.01389, allocations: 0.8933 MB / 357.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01389, allocations: 0 / 357.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.01418, allocations: 263.7 kB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.01423, allocations: 27.88 kB / 358 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01425, allocations: 0 / 358 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.01434, allocations: 8.078 kB / 358 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.01439, allocations: 15.98 kB / 358 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.0144, allocations: 4 kB / 358 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.01446, allocations: 131.2 kB / 358.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01446, allocations: 0 / 358.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.01487, allocations: 83.62 kB / 358.2 MB, free: 14.66 MB / 298.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.0003362/0.01521, allocations: 170.9 kB / 358.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.01544, allocations: 96.38 kB / 358.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01544, allocations: 0 / 358.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.01554, allocations: 55.58 kB / 358.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.01583, allocations: 24.31 kB / 358.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.01674, allocations: 299.4 kB / 358.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.702e-05/0.0168, allocations: 71.28 kB / 358.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.01688, allocations: 20.7 kB / 359 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.37e-05/0.01697, allocations: 82.2 kB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01697, allocations: 4 kB / 359 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Templates: time 0.006652/0.02362, allocations: 2.613 MB / 361.7 MB, free: 11.22 MB / 298.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 -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: 3.307518546935171]