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.001195/0.001195, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001002/0.001002, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.968/0.968, allocations: 177 MB / 205.2 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.2497/0.2497, allocations: 34.86 MB / 296.6 MB, free: 0.5625 MB / 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.853e-06/1.853e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.159e-05, allocations: 2.312 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002206/0.002227, allocations: 1.982 MB / 380.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003529, allocations: 1.118 MB / 381.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.003604, allocations: 3.938 kB / 381.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.00386, allocations: 59.67 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.004022, allocations: 83.39 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.004348, allocations: 159.2 kB / 382.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.004585, allocations: 274.2 kB / 382.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.004636, allocations: 20.91 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.004835, allocations: 135.5 kB / 382.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.004952, allocations: 103.6 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.004969, allocations: 8 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.00523, allocations: 215.5 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.005293, allocations: 59.64 kB / 383 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.005355, allocations: 71.67 kB / 383.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.005729, allocations: 386.6 kB / 383.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.005732, allocations: 4 kB / 383.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005733, allocations: 0 / 383.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005738, allocations: 8 kB / 383.4 MB, free: 13.71 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.0005128/0.00625, allocations: 0.6055 MB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.006284, allocations: 12.03 kB / 384.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.006356, allocations: 52.75 kB / 384.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.00654, allocations: 184.1 kB / 384.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.006559, allocations: 25.36 kB / 384.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.006587, allocations: 36.38 kB / 384.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.00695, allocations: 352 kB / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.00696, allocations: 0 / 384.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.006981, allocations: 16 kB / 384.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.007021, allocations: 32.98 kB / 384.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.007228, allocations: 181.9 kB / 384.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008777/0.008106, allocations: 0.9744 MB / 385.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.008183, allocations: 55.05 kB / 385.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.484e-05/0.008217, allocations: 23.67 kB / 386 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.008237, allocations: 3.938 kB / 386 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.008257, allocations: 37.39 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.008258, allocations: 0 / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001971/0.008456, allocations: 97.67 kB / 386.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.008484, allocations: 59.41 kB / 386.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.008599, allocations: 239 kB / 386.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.00861, allocations: 25.7 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.008703, allocations: 270.6 kB / 386.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.00872, allocations: 31.78 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.008778, allocations: 63.31 kB / 386.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.008886, allocations: 0.5 MB / 387.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.008922, allocations: 19.98 kB / 387.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.009026, allocations: 196.2 kB / 387.5 MB, free: 9.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.009181, allocations: 241.8 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.009184, allocations: 4 kB / 387.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002076/0.009392, allocations: 205.5 kB / 387.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.009405, allocations: 4 kB / 387.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.009411, allocations: 4 kB / 387.9 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.009426, allocations: 8 kB / 387.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.009637, allocations: 87.89 kB / 388 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008296/0.01047, allocations: 2.7 MB / 390.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.01054, allocations: 35.77 kB / 390.8 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.01057, allocations: 19.94 kB / 390.8 MB, free: 5.887 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 0.0001108/0.01068, allocations: 168.5 kB / 391 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.0107, allocations: 11.95 kB / 391 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.01092, allocations: 150.6 kB / 391.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01092, allocations: 0 / 391.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01092, allocations: 0 / 391.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01093, allocations: 0 / 391.1 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01111, allocations: 240.4 kB / 391.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01111, allocations: 0 / 391.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.01122, allocations: 59.98 kB / 391.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01122, allocations: 0 / 391.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.01123, allocations: 8 kB / 391.4 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007265/0.01196, allocations: 2.688 MB / 394.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01196, allocations: 3.984 kB / 394.1 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.0121, allocations: 239.8 kB / 394.3 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.01211, allocations: 12.09 kB / 394.4 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.01212, allocations: 7.984 kB / 394.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.01216, allocations: 4 kB / 394.4 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.0122, allocations: 11.98 kB / 394.4 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.01221, allocations: 4 kB / 394.4 MB, free: 2.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.464e-05/0.01227, allocations: 157.5 kB / 394.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 394.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.01255, allocations: 103.5 kB / 394.6 MB, free: 1.887 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.0001911/0.01274, allocations: 147.1 kB / 394.8 MB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.013, allocations: 148.5 kB / 394.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.013, allocations: 0 / 394.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01311, allocations: 83.64 kB / 395 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.01331, allocations: 8 kB / 395 MB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008303/0.01414, allocations: 455 kB / 395.5 MB, free: 1.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.01424, allocations: 111.7 kB / 395.6 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.01434, allocations: 57.31 kB / 395.6 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.01437, allocations: 20.5 kB / 395.6 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01437, allocations: 0 / 395.6 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of Templates: time 0.005021/0.01939, allocations: 3.063 MB / 398.7 MB, free: 13.82 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.300822878954932]