Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.002268, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007224/0.0007224, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009318/0.001654, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9901/0.9901, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09085/1.081, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02614/0.2763, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.687e-05, allocations: 3.625 kB / 293.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.004147/0.004174, allocations: 1.912 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.006569, allocations: 1.376 MB / 297.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.006669, allocations: 7.938 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.006877, allocations: 39.77 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.007076, allocations: 55.55 kB / 297.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.007734, allocations: 250.9 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.007896, allocations: 107.3 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.007943, allocations: 13.89 kB / 297.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.008187, allocations: 71.75 kB / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.534e-05/0.008272, allocations: 35.84 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.008289, allocations: 4 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005834/0.008873, allocations: 335.3 kB / 298.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.008898, allocations: 11.94 kB / 298.1 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.008936, allocations: 19.94 kB / 298.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.009431, allocations: 287.1 kB / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/0.009448, allocations: 0 / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.009449, allocations: 0 / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.009465, allocations: 0 / 298.4 MB, free: 0.668 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.00055/0.01002, allocations: 380.9 kB / 298.8 MB, free: 280 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.01005, allocations: 8.922 kB / 298.8 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.0101, allocations: 24.92 kB / 298.8 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.01021, allocations: 117.6 kB / 298.9 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.01022, allocations: 8.375 kB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.01026, allocations: 12.38 kB / 298.9 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.01048, allocations: 122.2 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01049, allocations: 3.938 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.0105, allocations: 4 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.01051, allocations: 7.938 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.0106, allocations: 44.47 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.0113, allocations: 340.7 kB / 299.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.01146, allocations: 63.3 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.242e-05/0.0115, allocations: 24.84 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.01152, allocations: 3.938 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01155, allocations: 42.5 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.01155, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002023/0.01176, allocations: 86.58 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.01179, allocations: 51.41 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.01187, allocations: 122.7 kB / 299.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.01188, allocations: 25.7 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.01194, allocations: 119.8 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.01197, allocations: 39.69 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.01202, allocations: 33.66 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01213, allocations: 322.8 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.01216, allocations: 8 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.01222, allocations: 61.06 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.01233, allocations: 93.73 kB / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01233, allocations: 0 / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001567/0.01249, allocations: 94.08 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.0125, allocations: 4 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.01251, allocations: 4 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01252, allocations: 3.938 kB / 300.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.01273, allocations: 47.91 kB / 300.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000303/0.01304, allocations: 0.5861 MB / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/0.01312, allocations: 19.88 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01313, allocations: 4 kB / 301.3 MB, free: 13.56 MB / 298.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.635e-05/0.0132, allocations: 113.8 kB / 301.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.01323, allocations: 7.938 kB / 301.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.01345, allocations: 116.3 kB / 301.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.01346, allocations: 4 kB / 301.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01346, allocations: 0 / 301.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01346, allocations: 0 / 301.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.01366, allocations: 97.86 kB / 301.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01367, allocations: 0 / 301.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.01383, allocations: 39.97 kB / 301.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.01387, allocations: 23.77 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.01388, allocations: 4 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.01389, allocations: 7.938 kB / 301.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002703/0.01416, allocations: 0.5899 MB / 302.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01416, allocations: 0 / 302.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.01437, allocations: 195.9 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01439, allocations: 4 kB / 302.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.01448, allocations: 7.984 kB / 302.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.01453, allocations: 7.984 kB / 302.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.01454, allocations: 4 kB / 302.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.01456, allocations: 20.83 kB / 302.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01456, allocations: 0 / 302.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.01492, allocations: 87.7 kB / 302.6 MB, free: 12.17 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.0003336/0.01526, allocations: 160.1 kB / 302.7 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.01544, allocations: 71.03 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.01545, allocations: 4 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.01554, allocations: 40.78 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.01578, allocations: 27.92 kB / 302.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.01751, allocations: 317.9 kB / 303.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.01755, allocations: 67.3 kB / 303.3 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.841e-05/0.01762, allocations: 27.47 kB / 303.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.01769, allocations: 63.38 kB / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01769, allocations: 0 / 303.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of Templates: time 0.004074/0.02176, allocations: 2.508 MB / 305.9 MB, free: 8.891 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9787411941215396]