Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3231/0.3231, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.397e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003274/0.003308, allocations: 1.732 MB / 377 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004966, allocations: 0.814 MB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.005018, allocations: 8 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.005249, allocations: 35.75 kB / 377.9 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.00544, allocations: 59.61 kB / 377.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.005785, allocations: 99.56 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.00601, allocations: 155.1 kB / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.006051, allocations: 13.3 kB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.00627, allocations: 87.72 kB / 378.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.006411, allocations: 67.8 kB / 378.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.006433, allocations: 4 kB / 378.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.006729, allocations: 131.7 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.006808, allocations: 43.78 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.00687, allocations: 31.94 kB / 378.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.007254, allocations: 219.2 kB / 378.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.007257, allocations: 0 / 378.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.007259, allocations: 4 kB / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.007263, allocations: 0 / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007052/0.007969, allocations: 487.5 kB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.008005, allocations: 8.031 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/0.008495, allocations: 92.59 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.008772, allocations: 156.4 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.00879, allocations: 8.375 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.008822, allocations: 12.38 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.009224, allocations: 199 kB / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.009237, allocations: 3.938 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.009258, allocations: 8 kB / 379.7 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/0.009302, allocations: 15.98 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.009695, allocations: 179.6 kB / 379.9 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.01116, allocations: 0.5357 MB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.01135, allocations: 63.02 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.01145, allocations: 27.67 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.01147, allocations: 0 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.0115, allocations: 41.39 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.01151, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004374/0.01194, allocations: 113.5 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.01199, allocations: 51.41 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01217, allocations: 201.8 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.0122, allocations: 25.7 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.01235, allocations: 198.8 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.01238, allocations: 31.73 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.01247, allocations: 39.36 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.01273, allocations: 0.4962 MB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.01283, allocations: 23.98 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.013, allocations: 105.4 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.01327, allocations: 137.5 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.01328, allocations: 8 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003599/0.01364, allocations: 145.7 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01366, allocations: 4 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.01366, allocations: 4 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01368, allocations: 0 / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/0.01462, allocations: 96.05 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.01665, allocations: 2.711 MB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01677, allocations: 16.08 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.01679, allocations: 12 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001787/0.01697, allocations: 176.5 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.01702, allocations: 15.95 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.01744, allocations: 134.3 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.01745, allocations: 7.922 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01745, allocations: 0 / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01746, allocations: 0 / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.01772, allocations: 180.6 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01773, allocations: 3.938 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.01848, allocations: 75.91 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01848, allocations: 4 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.0185, allocations: 4 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.0206, allocations: 2.703 MB / 388.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.0206, allocations: 0 / 388.3 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.02098, allocations: 259.7 kB / 388.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.021, allocations: 8.078 kB / 388.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.02102, allocations: 8 kB / 388.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.02114, allocations: 7.922 kB / 388.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.02122, allocations: 11.98 kB / 388.6 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.02124, allocations: 4 kB / 388.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.02135, allocations: 147.2 kB / 388.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02136, allocations: 4 kB / 388.7 MB, free: 7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003268/0.02168, allocations: 47.84 kB / 388.8 MB, free: 6.953 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 (11): * Single equations (assignments): 8 * 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.0002231/0.0219, allocations: 107.2 kB / 388.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.0231, allocations: 179.8 kB / 389 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.0231, allocations: 3.938 kB / 389 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.02377, allocations: 91.53 kB / 389.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.02409, allocations: 15.98 kB / 389.1 MB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.02483, allocations: 320.8 kB / 389.5 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.02497, allocations: 122.2 kB / 389.6 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.521e-05/0.02506, allocations: 32.34 kB / 389.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.02512, allocations: 12.5 kB / 389.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02512, allocations: 0 / 389.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of Templates: time 0.007371/0.03249, allocations: 2.597 MB / 392.2 MB, free: 3.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.238020357908681]