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.002035/0.002035, allocations: 88.91 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002398/0.002398, allocations: 159 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.493/1.493, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2189/0.2189, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 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.513e-06/1.513e-06, allocations: 0 / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.857e-05, allocations: 4.953 kB / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003079/0.003108, allocations: 1.782 MB / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.005397, allocations: 1.274 MB / 445.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.005456, allocations: 0 / 445.7 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.005662, allocations: 43.64 kB / 445.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.005844, allocations: 63.61 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.006411, allocations: 250.9 kB / 446.1 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.006553, allocations: 111.3 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.006607, allocations: 9.297 kB / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.006812, allocations: 67.77 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.006908, allocations: 47.81 kB / 446.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.006927, allocations: 4 kB / 446.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.007448, allocations: 307.4 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.007476, allocations: 19.84 kB / 446.7 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.007522, allocations: 27.92 kB / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.008047, allocations: 342.8 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.00805, allocations: 0 / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00805, allocations: 0 / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.008054, allocations: 4 kB / 447 MB, free: 0.918 MB / 366.1 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.0005821/0.008636, allocations: 369.5 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.008671, allocations: 12.03 kB / 447.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.00872, allocations: 12.84 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.008847, allocations: 117.7 kB / 447.5 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.008866, allocations: 8.375 kB / 447.5 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.0089, allocations: 16.31 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.009216, allocations: 143.2 kB / 447.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.009228, allocations: 3.938 kB / 447.7 MB, free: 196 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.009243, allocations: 8 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.009251, allocations: 4 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.00957, allocations: 139.9 kB / 447.8 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.228/0.2376, allocations: 401.1 kB / 448.2 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.2378, allocations: 89.08 kB / 448.3 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.238, allocations: 52.75 kB / 448.4 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.238, allocations: 1.094 kB / 448.4 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.238, allocations: 37.91 kB / 448.4 MB, free: 19.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.844e-06/0.238, allocations: 0 / 448.4 MB, free: 19.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005258/0.2386, allocations: 162.9 kB / 448.6 MB, free: 19.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.2386, allocations: 57.19 kB / 448.6 MB, free: 19.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.2387, allocations: 121.9 kB / 448.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2387, allocations: 26.86 kB / 448.8 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.2387, allocations: 116.1 kB / 448.9 MB, free: 18.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2387, allocations: 36.48 kB / 448.9 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.2388, allocations: 35.41 kB / 448.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.2388, allocations: 319.2 kB / 449.3 MB, free: 18.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.239, allocations: 39.81 kB / 449.3 MB, free: 18.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.2391, allocations: 86.89 kB / 449.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2393, allocations: 127.5 kB / 449.5 MB, free: 18.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2393, allocations: 1.125 kB / 449.5 MB, free: 18.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003369/0.2397, allocations: 163.6 kB / 449.7 MB, free: 18.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2397, allocations: 5.688 kB / 449.7 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2397, allocations: 2.562 kB / 449.7 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2397, allocations: 1.344 kB / 449.7 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.2399, allocations: 50.33 kB / 449.7 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002116/0.2402, allocations: 0.5935 MB / 450.3 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2403, allocations: 16.12 kB / 450.3 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.2403, allocations: 6.719 kB / 450.3 MB, free: 17.74 MB / 366.1 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.698e-05/0.2404, allocations: 122.8 kB / 450.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.2404, allocations: 8.344 kB / 450.5 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.2408, allocations: 171.2 kB / 450.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2408, allocations: 2.281 kB / 450.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2408, allocations: 3.594 kB / 450.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.2408, allocations: 2.391 kB / 450.6 MB, free: 17.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.241, allocations: 153.7 kB / 450.8 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.241, allocations: 0.9062 kB / 450.8 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.2413, allocations: 45.52 kB / 450.8 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2413, allocations: 9.125 kB / 450.8 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2413, allocations: 2.734 kB / 450.9 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002094/0.2415, allocations: 0.5842 MB / 451.4 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2415, allocations: 0 / 451.4 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.242, allocations: 303.1 kB / 451.7 MB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.2421, allocations: 17.84 kB / 451.7 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.2421, allocations: 1.094 kB / 451.8 MB, free: 16.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.2422, allocations: 11.11 kB / 451.8 MB, free: 16.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.2423, allocations: 9.172 kB / 451.8 MB, free: 16.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2423, allocations: 7.734 kB / 451.8 MB, free: 16.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.003e-05/0.2424, allocations: 89.94 kB / 451.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2424, allocations: 0 / 451.9 MB, free: 16.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.2428, allocations: 83.7 kB / 451.9 MB, free: 16.49 MB / 366.1 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.0004274/0.2432, allocations: 173.3 kB / 452.1 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.2437, allocations: 134.8 kB / 452.2 MB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2437, allocations: 1.625 kB / 452.3 MB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2439, allocations: 68.7 kB / 452.3 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.2442, allocations: 9.469 kB / 452.3 MB, free: 16.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.2448, allocations: 290.4 kB / 452.6 MB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.2449, allocations: 93.48 kB / 452.7 MB, free: 16.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.245, allocations: 20.56 kB / 452.7 MB, free: 16.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.245, allocations: 17.25 kB / 452.7 MB, free: 16.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.245, allocations: 0 / 452.7 MB, free: 16.05 MB / 366.1 MB Notification: Performance of Templates: time 0.006899/0.2519, allocations: 2.377 MB / 455.1 MB, free: 15.83 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.22559567168355]