Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.001905/0.001905, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002042/0.002042, allocations: 161.3 kB / 24.27 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.585/1.585, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3781/0.3781, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.091e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003665/0.003696, allocations: 1.856 MB / 379.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.00495, allocations: 0.623 MB / 379.8 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.005011, allocations: 3.938 kB / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.00531, allocations: 51.67 kB / 379.9 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.005498, allocations: 75.52 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.005892, allocations: 123.4 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.006221, allocations: 242.7 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.00627, allocations: 16.59 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.006438, allocations: 111.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.00662, allocations: 99.62 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.006646, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.006976, allocations: 163.8 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.007062, allocations: 55.7 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.007165, allocations: 67.72 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.007702, allocations: 330.8 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007704, allocations: 0 / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007705, allocations: 4 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.007711, allocations: 0 / 381.1 MB, free: 15.12 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008913/0.008602, allocations: 0.5503 MB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.008642, allocations: 8.031 kB / 381.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.01042, allocations: 236.2 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.01083, allocations: 204.1 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.01086, allocations: 20.86 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.01091, allocations: 24.38 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.01179, allocations: 441.2 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01181, allocations: 192 / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.01184, allocations: 8.375 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.0119, allocations: 36.56 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.01301, allocations: 0.4983 MB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.01527, allocations: 0.8883 MB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.01577, allocations: 94.98 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.01601, allocations: 47.66 kB / 384.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.01603, allocations: 4 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.01608, allocations: 45.31 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.01608, allocations: 0 / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009098/0.01699, allocations: 173.6 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.01704, allocations: 51.41 kB / 384.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.01724, allocations: 212.4 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.01727, allocations: 25.7 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.01745, allocations: 230.7 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.01749, allocations: 27.78 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.0176, allocations: 47.3 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004989/0.0181, allocations: 0.4962 MB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.01836, allocations: 47.95 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.01865, allocations: 97.33 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.01917, allocations: 138.6 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01917, allocations: 0 / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006653/0.01984, allocations: 173.4 kB / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.01986, allocations: 11.94 kB / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01987, allocations: 3.984 kB / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01988, allocations: 0 / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005769/0.02565, allocations: 387.5 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/0.02904, allocations: 2.785 MB / 389.1 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.02938, allocations: 24.06 kB / 389.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.02941, allocations: 7.984 kB / 389.1 MB, free: 6.816 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002354/0.02965, allocations: 196.5 kB / 389.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.02971, allocations: 11.89 kB / 389.3 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.02977, allocations: 16.78 kB / 389.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02977, allocations: 0 / 389.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02978, allocations: 0 / 389.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.02978, allocations: 0 / 389.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.03016, allocations: 224.5 kB / 389.5 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.03016, allocations: 4 kB / 389.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005855/0.03602, allocations: 379.4 kB / 389.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.03603, allocations: 3.938 kB / 389.9 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.03605, allocations: 4 kB / 389.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.0397, allocations: 2.786 MB / 392.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.03971, allocations: 0 / 392.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.04044, allocations: 287.7 kB / 393 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.04048, allocations: 15.88 kB / 393 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.04051, allocations: 0 / 393 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.04084, allocations: 12.05 kB / 393 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.04091, allocations: 11.98 kB / 393 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.04094, allocations: 7.984 kB / 393 MB, free: 2.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.04108, allocations: 151.2 kB / 393.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04108, allocations: 0 / 393.2 MB, free: 2.582 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004097/0.04149, allocations: 83.67 kB / 393.3 MB, free: 2.5 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.0002469/0.04173, allocations: 111.2 kB / 393.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00594/0.04767, allocations: 458.9 kB / 393.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.04768, allocations: 0 / 393.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005464/0.05314, allocations: 383.3 kB / 394.2 MB, free: 1.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.05349, allocations: 23.92 kB / 394.2 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.05458, allocations: 411.2 kB / 394.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.05478, allocations: 164.1 kB / 394.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.05493, allocations: 32.69 kB / 394.8 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.055, allocations: 16.48 kB / 394.8 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.055, allocations: 0 / 394.8 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of Templates: time 0.01065/0.06566, allocations: 4.854 MB / 399.7 MB, free: 12.07 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.363112036022358]