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.0007962/0.0007962, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.00221, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007043/0.0007043, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001738, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9947/0.9947, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08859/1.083, allocations: 53.88 MB / 243.9 MB, free: 14.86 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.3332/0.3332, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02763/0.3609, allocations: 13.24 MB / 292.8 MB, free: 6.391 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 3.316e-06/3.316e-06, allocations: 4 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.852e-05, allocations: 5.469 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003754/0.003783, allocations: 1.918 MB / 296 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.005541, allocations: 1.391 MB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.005597, allocations: 0 / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.005731, allocations: 35.83 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.005838, allocations: 63.44 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.006219, allocations: 239 kB / 297.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.006336, allocations: 111.3 kB / 297.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.006375, allocations: 9.906 kB / 297.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.006555, allocations: 75.69 kB / 297.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.006617, allocations: 35.89 kB / 298 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.006632, allocations: 8 kB / 298 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004252/0.007058, allocations: 331.3 kB / 298.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.007086, allocations: 7.938 kB / 298.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.007117, allocations: 23.94 kB / 298.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.007478, allocations: 279.1 kB / 298.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.007493, allocations: 0 / 298.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.007494, allocations: 0 / 298.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.007506, allocations: 3.938 kB / 298.6 MB, free: 0.5547 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.0004116/0.007917, allocations: 380.9 kB / 299 MB, free: 164 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.007947, allocations: 12.92 kB / 299 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.007985, allocations: 20.92 kB / 299 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.008082, allocations: 113.7 kB / 299.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.008098, allocations: 16.36 kB / 299.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.008128, allocations: 16.31 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.008294, allocations: 118.2 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.008303, allocations: 3.938 kB / 299.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.008314, allocations: 8 kB / 299.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.00832, allocations: 4 kB / 299.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.008394, allocations: 48.41 kB / 299.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.008925, allocations: 340.7 kB / 299.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.009042, allocations: 66.47 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.966e-05/0.009072, allocations: 20.86 kB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.009095, allocations: 4 kB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.009116, allocations: 30.56 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.009118, allocations: 4 kB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001552/0.009273, allocations: 82.69 kB / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.009313, allocations: 59.34 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.009382, allocations: 122.6 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.009397, allocations: 25.7 kB / 300.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.009443, allocations: 119.8 kB / 300.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.009464, allocations: 39.67 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.009502, allocations: 37.66 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.009575, allocations: 322.8 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.009592, allocations: 8 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/0.00963, allocations: 53.12 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.602e-05/0.009706, allocations: 94.34 kB / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009708, allocations: 0 / 300.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.815e-05/0.009807, allocations: 97.47 kB / 300.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.009819, allocations: 8 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.009823, allocations: 0 / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.009838, allocations: 7.938 kB / 300.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.009987, allocations: 48.12 kB / 300.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002233/0.01021, allocations: 0.5782 MB / 301.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.972e-05/0.01027, allocations: 15.89 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.01028, allocations: 11.92 kB / 301.5 MB, free: 13.45 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 6.228e-05/0.01034, allocations: 113.8 kB / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.01036, allocations: 11.88 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.01051, allocations: 118.6 kB / 301.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.01051, allocations: 0 / 301.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01052, allocations: 0 / 301.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.01052, allocations: 0 / 301.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.01064, allocations: 97.86 kB / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01064, allocations: 0 / 301.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.01074, allocations: 39.97 kB / 301.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.01077, allocations: 27.72 kB / 301.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01077, allocations: 0 / 301.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01078, allocations: 11.98 kB / 301.9 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001806/0.01096, allocations: 0.5821 MB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01097, allocations: 4 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.0111, allocations: 199.4 kB / 302.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.01111, allocations: 4 kB / 302.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.01116, allocations: 4 kB / 302.7 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.01119, allocations: 11.97 kB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.0112, allocations: 8 kB / 302.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.626e-05/0.01122, allocations: 16.83 kB / 302.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01122, allocations: 4.094 kB / 302.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.01144, allocations: 75.69 kB / 302.8 MB, free: 12.05 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.0002376/0.01168, allocations: 167.4 kB / 303 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.01181, allocations: 79.22 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.01181, allocations: 0 / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.071e-05/0.01187, allocations: 61.89 kB / 303.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01205, allocations: 49.64 kB / 303.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.0135, allocations: 307.4 kB / 303.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.01353, allocations: 67.3 kB / 303.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.01359, allocations: 28.31 kB / 303.6 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.01366, allocations: 67.36 kB / 303.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01366, allocations: 0 / 303.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of Templates: time 0.004179/0.01784, allocations: 2.347 MB / 306 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0812469236552715]