Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.001331/0.001331, allocations: 91.61 kB / 21.19 MB, free: 3.387 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.001395/0.001395, allocations: 164.5 kB / 24.56 MB, free: 24 kB / 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 1.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.586 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.2662/0.2662, allocations: 34.87 MB / 296.3 MB, free: 488 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.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.587e-05, allocations: 2.312 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002167/0.002183, allocations: 1.98 MB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.003634, allocations: 1.122 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.003706, allocations: 4 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.003973, allocations: 59.61 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.004149, allocations: 83.39 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.004534, allocations: 163.2 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.004811, allocations: 278.2 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.004861, allocations: 8.938 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.005102, allocations: 139.5 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.00523, allocations: 107.6 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.005247, allocations: 8 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.005541, allocations: 203.6 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.005607, allocations: 67.62 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.005673, allocations: 75.61 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.006056, allocations: 390.6 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006059, allocations: 4 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00606, allocations: 0 / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.006064, allocations: 0 / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0005696/0.006633, allocations: 0.6056 MB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.00667, allocations: 12.03 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.42e-05/0.006744, allocations: 56.75 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.006922, allocations: 180.1 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.006944, allocations: 29.38 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.006973, allocations: 32.36 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.007358, allocations: 352 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.007368, allocations: 0 / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.007389, allocations: 15.98 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.007429, allocations: 36.97 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.007633, allocations: 185.9 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.008779, allocations: 0.9744 MB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.008859, allocations: 55.06 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.008893, allocations: 23.67 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.008913, allocations: 4 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.008933, allocations: 33.39 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.008934, allocations: 0 / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001918/0.009126, allocations: 97.52 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.009151, allocations: 55.41 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.009266, allocations: 240.4 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.009277, allocations: 25.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.009375, allocations: 270.8 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.009394, allocations: 35.78 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.009456, allocations: 63.31 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.009561, allocations: 0.5 MB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.009594, allocations: 15.98 kB / 387.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.0097, allocations: 204.2 kB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.009853, allocations: 237.8 kB / 387.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.009857, allocations: 4 kB / 387.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002025/0.01006, allocations: 205.5 kB / 388 MB, free: 8.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01007, allocations: 4 kB / 388 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01008, allocations: 4 kB / 388 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.01009, allocations: 8 kB / 388 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.0103, allocations: 83.91 kB / 388.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007506/0.01105, allocations: 2.704 MB / 390.8 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.01113, allocations: 31.78 kB / 390.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.01114, allocations: 15.94 kB / 390.8 MB, free: 5.543 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/0.01124, allocations: 176.5 kB / 391 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.01126, allocations: 15.94 kB / 391 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.01148, allocations: 146.6 kB / 391.1 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01148, allocations: 0 / 391.1 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01149, allocations: 0 / 391.1 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01149, allocations: 0 / 391.1 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.01166, allocations: 236.5 kB / 391.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01166, allocations: 0 / 391.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.01177, allocations: 63.97 kB / 391.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01177, allocations: 0 / 391.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01178, allocations: 7.938 kB / 391.4 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009741/0.01276, allocations: 2.688 MB / 394.1 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01276, allocations: 3.984 kB / 394.1 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.0129, allocations: 239.8 kB / 394.4 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01291, allocations: 20.08 kB / 394.4 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.01292, allocations: 4 kB / 394.4 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.01296, allocations: 4 kB / 394.4 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.013, allocations: 11.98 kB / 394.4 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.01301, allocations: 8 kB / 394.4 MB, free: 1.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.01307, allocations: 152.1 kB / 394.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01307, allocations: 0 / 394.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.01335, allocations: 103.6 kB / 394.7 MB, free: 1.531 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001909/0.01354, allocations: 151 kB / 394.8 MB, free: 1.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.01379, allocations: 144.6 kB / 394.9 MB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01379, allocations: 0 / 394.9 MB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.01389, allocations: 75.66 kB / 395 MB, free: 1.152 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.01408, allocations: 12 kB / 395 MB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.01483, allocations: 466.3 kB / 395.5 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.01488, allocations: 107.8 kB / 395.6 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.534e-05/0.01498, allocations: 53.33 kB / 395.6 MB, free: 496 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.01501, allocations: 16.5 kB / 395.7 MB, free: 480 kB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01501, allocations: 4 kB / 395.7 MB, free: 476 kB / 362.7 MB Notification: Performance of Templates: time 0.005322/0.02033, allocations: 3.632 MB / 399.3 MB, free: 12.9 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_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.236823230981827]