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.001357/0.001357, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.007403/0.007403, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9984/0.9984, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.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.2581/0.2581, allocations: 34.86 MB / 296.6 MB, free: 484 kB / 266.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.513e-06/1.513e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.429e-05, allocations: 2.312 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002233/0.002247, allocations: 1.908 MB / 327.9 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003741, allocations: 1.372 MB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.003786, allocations: 3.938 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.003967, allocations: 51.75 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.004083, allocations: 51.52 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.004399, allocations: 239 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.004498, allocations: 108.1 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.004534, allocations: 13.94 kB / 329.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.004693, allocations: 75.62 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.00475, allocations: 35.89 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.004762, allocations: 4 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.005121, allocations: 327.3 kB / 330.2 MB, free: 2.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.005139, allocations: 19.86 kB / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.005167, allocations: 31.91 kB / 330.2 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.005493, allocations: 326.8 kB / 330.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005495, allocations: 4 kB / 330.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.005496, allocations: 0 / 330.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.005501, allocations: 3.984 kB / 330.5 MB, free: 2.531 MB / 298.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.0003246/0.005825, allocations: 341.5 kB / 330.9 MB, free: 2.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.005854, allocations: 8.031 kB / 330.9 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.005889, allocations: 16.92 kB / 330.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.005978, allocations: 125.6 kB / 331 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.005991, allocations: 4.375 kB / 331 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.006016, allocations: 12.38 kB / 331 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006169, allocations: 114.2 kB / 331.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.006179, allocations: 11.94 kB / 331.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.006194, allocations: 7.984 kB / 331.2 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.006202, allocations: 4 kB / 331.2 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.00626, allocations: 48.42 kB / 331.2 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.006731, allocations: 336.7 kB / 331.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.006842, allocations: 68.48 kB / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.006868, allocations: 20.86 kB / 331.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.006886, allocations: 8 kB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.006906, allocations: 30.56 kB / 331.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.006908, allocations: 7.938 kB / 331.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001391/0.007047, allocations: 81.59 kB / 331.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.007073, allocations: 55.41 kB / 331.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.007126, allocations: 118.7 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.007138, allocations: 29.7 kB / 332 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.00718, allocations: 111.8 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.007203, allocations: 47.56 kB / 332.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.00724, allocations: 37.69 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.007308, allocations: 322.8 kB / 332.5 MB, free: 456 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.007326, allocations: 8 kB / 332.5 MB, free: 448 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.007363, allocations: 59.45 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.007512, allocations: 85.7 kB / 332.6 MB, free: 268 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007515, allocations: 3.984 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.631e-05/0.007611, allocations: 98.77 kB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.007621, allocations: 4 kB / 332.7 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007626, allocations: 4 kB / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.007637, allocations: 3.938 kB / 332.7 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.00776, allocations: 47.91 kB / 332.8 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002161/0.007976, allocations: 0.5743 MB / 333.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.008021, allocations: 15.89 kB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.008029, allocations: 7.938 kB / 333.4 MB, free: 15.48 MB / 314.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.469e-05/0.008083, allocations: 118 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.008104, allocations: 15.92 kB / 333.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.008245, allocations: 111.7 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.008248, allocations: 4 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.00825, allocations: 0 / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.008253, allocations: 0 / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.008375, allocations: 105.8 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.008378, allocations: 4 kB / 333.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.008468, allocations: 35.98 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008471, allocations: 3.938 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.008479, allocations: 3.984 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001639/0.008643, allocations: 0.586 MB / 334.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008644, allocations: 0 / 334.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.008771, allocations: 191.9 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.0088, allocations: 23.86 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.008813, allocations: 12.09 kB / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.008858, allocations: 0 / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.00889, allocations: 15.97 kB / 334.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.008896, allocations: 7.984 kB / 334.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.316e-05/0.008909, allocations: 12.86 kB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008909, allocations: 0 / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.009108, allocations: 79.67 kB / 334.7 MB, free: 14.08 MB / 314.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.0001947/0.009303, allocations: 165.5 kB / 334.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.009435, allocations: 76.77 kB / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.009438, allocations: 320 / 334.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.009494, allocations: 55.14 kB / 335 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.009629, allocations: 19.86 kB / 335 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.0102, allocations: 297.6 kB / 335.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.5e-05/0.01024, allocations: 67.34 kB / 335.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.01029, allocations: 17.89 kB / 335.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.01035, allocations: 67.36 kB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01035, allocations: 0 / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Templates: time 0.00394/0.01429, allocations: 2.664 MB / 338.1 MB, free: 10.66 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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.98311987798661]