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.001088/0.001088, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009626/0.0009626, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8919/0.8919, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1257/0.1257, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.683e-06/1.683e-06, allocations: 0 / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.912e-05, allocations: 6.25 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002224/0.002243, allocations: 1.87 MB / 349.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.003719, allocations: 1.36 MB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.003787, allocations: 0 / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.003979, allocations: 35.72 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.004118, allocations: 55.56 kB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.00449, allocations: 251 kB / 351.3 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.004584, allocations: 111.3 kB / 351.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.00462, allocations: 9.297 kB / 351.4 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.004745, allocations: 63.75 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.004796, allocations: 35.84 kB / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.00481, allocations: 8 kB / 351.5 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.005114, allocations: 311.3 kB / 351.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.005136, allocations: 11.92 kB / 351.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.005168, allocations: 31.86 kB / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.005467, allocations: 318.9 kB / 352.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005469, allocations: 0 / 352.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00547, allocations: 0 / 352.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005474, allocations: 0 / 352.1 MB, free: 4.953 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.0003281/0.005802, allocations: 463.7 kB / 352.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.005836, allocations: 12.03 kB / 352.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.005882, allocations: 28.83 kB / 352.6 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.952e-05/0.005942, allocations: 120.5 kB / 352.8 MB, free: 4.281 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.005956, allocations: 12.38 kB / 352.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.005984, allocations: 8.375 kB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.006148, allocations: 118.9 kB / 352.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006156, allocations: 7.938 kB / 352.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.006169, allocations: 4 kB / 352.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.006177, allocations: 4 kB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.006262, allocations: 67.89 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.006813, allocations: 458.5 kB / 353.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.006937, allocations: 79.16 kB / 353.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.006976, allocations: 31.67 kB / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.006999, allocations: 0 / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.007016, allocations: 41.33 kB / 353.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 7.92e-07/0.007016, allocations: 0 / 353.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000202/0.007218, allocations: 117.5 kB / 353.7 MB, free: 3.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.007237, allocations: 59.41 kB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.278e-05/0.00729, allocations: 177.9 kB / 353.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.007298, allocations: 25.7 kB / 353.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.007345, allocations: 158.6 kB / 354.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.007365, allocations: 35.69 kB / 354.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.007399, allocations: 43.36 kB / 354.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.007442, allocations: 496.1 kB / 354.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.007471, allocations: 19.98 kB / 354.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-05/0.007518, allocations: 85.97 kB / 354.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.007601, allocations: 114 kB / 354.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.007603, allocations: 0 / 354.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001171/0.00772, allocations: 125.9 kB / 355 MB, free: 1.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.007731, allocations: 7.938 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007736, allocations: 0 / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.00775, allocations: 7.984 kB / 355 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.00787, allocations: 48.06 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001904/0.008061, allocations: 0.9011 MB / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.008103, allocations: 11.94 kB / 356 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.008111, allocations: 4 kB / 356 MB, free: 0.832 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 5.19e-05/0.008163, allocations: 172.5 kB / 356.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.008184, allocations: 11.95 kB / 356.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.008353, allocations: 138.4 kB / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008355, allocations: 0 / 356.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.00836, allocations: 7.984 kB / 356.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008363, allocations: 0 / 356.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.00848, allocations: 164.5 kB / 356.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008481, allocations: 3.938 kB / 356.5 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.008568, allocations: 39.98 kB / 356.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.008569, allocations: 0 / 356.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.00858, allocations: 0 / 356.5 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002583/0.008838, allocations: 0.9089 MB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008839, allocations: 0 / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.009047, allocations: 275.8 kB / 357.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.009081, allocations: 23.88 kB / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.009094, allocations: 4 kB / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.009141, allocations: 7.984 kB / 357.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.009179, allocations: 11.98 kB / 357.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.009185, allocations: 3.938 kB / 357.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.133e-05/0.009226, allocations: 135.2 kB / 357.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009227, allocations: 4.094 kB / 357.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.009448, allocations: 79.58 kB / 357.9 MB, free: 14.76 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.0002211/0.009669, allocations: 170.9 kB / 358.1 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.009851, allocations: 102.6 kB / 358.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.009852, allocations: 0 / 358.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.009923, allocations: 62.7 kB / 358.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01011, allocations: 12 kB / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.01082, allocations: 313.9 kB / 358.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.01086, allocations: 71.3 kB / 358.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.055e-05/0.01092, allocations: 20.7 kB / 358.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.01096, allocations: 20.48 kB / 358.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01097, allocations: 0 / 358.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of Templates: time 0.004019/0.01498, allocations: 2.311 MB / 361 MB, free: 11.68 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.187749720644206]