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.001482/0.001482, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.0016/0.0016, allocations: 161.7 kB / 24.27 MB, free: 172 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.521/1.521, 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.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.3924/0.3924, allocations: 32.79 MB / 293.9 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 179] 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.743e-06/1.743e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.33e-05, allocations: 9.484 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003572/0.003606, allocations: 1.69 MB / 377 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.00543, allocations: 0.7711 MB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.919e-05/0.005489, allocations: 0 / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.005782, allocations: 43.75 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.005992, allocations: 59.61 kB / 377.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.006331, allocations: 95.56 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.006566, allocations: 167.1 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.006605, allocations: 5.312 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.006817, allocations: 83.72 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.006954, allocations: 63.8 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.006979, allocations: 12 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.007252, allocations: 131.7 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.007328, allocations: 35.84 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.007403, allocations: 47.86 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.007769, allocations: 215.2 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.007772, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007773, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.007777, allocations: 0 / 378.7 MB, free: 1.543 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.0007205/0.008498, allocations: 385.6 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.008534, allocations: 12.03 kB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.009149, allocations: 92.59 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.009429, allocations: 161.5 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.009449, allocations: 8.375 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.009483, allocations: 12.38 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.01001, allocations: 243 kB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01002, allocations: 3.938 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.01005, allocations: 4 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.01009, allocations: 19.98 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.01059, allocations: 239.6 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01178, allocations: 497.1 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.01202, allocations: 82.5 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.01217, allocations: 44.97 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01219, allocations: 3.984 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.01223, allocations: 42.56 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.01223, allocations: 0 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005805/0.01281, allocations: 169.4 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.01287, allocations: 55.34 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.01302, allocations: 138.1 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.01304, allocations: 25.7 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.01318, allocations: 144.1 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.01322, allocations: 31.73 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.01329, allocations: 37.7 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01347, allocations: 318.8 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.01362, allocations: 51.94 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.01382, allocations: 98.81 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.01418, allocations: 162.6 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.01418, allocations: 4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004272/0.01461, allocations: 189.6 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.01463, allocations: 8.219 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01463, allocations: 4 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01465, allocations: 0 / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/0.0156, allocations: 91.83 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.01727, allocations: 1.813 MB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.01741, allocations: 23.91 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.01743, allocations: 8 kB / 383.8 MB, free: 12.09 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.0001664/0.0176, allocations: 141.8 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.01764, allocations: 7.953 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/0.01815, allocations: 178.5 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.01816, allocations: 3.938 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01817, allocations: 0 / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01817, allocations: 0 / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.01842, allocations: 165.3 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01842, allocations: 0 / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00074/0.01916, allocations: 83.83 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.01917, allocations: 4 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.01919, allocations: 4 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.02059, allocations: 1.781 MB / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.0206, allocations: 0 / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.02103, allocations: 243.3 kB / 386.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.02105, allocations: 15.88 kB / 386.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.02108, allocations: 7.938 kB / 386.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.02121, allocations: 8 kB / 386.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.02127, allocations: 7.969 kB / 386.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.02128, allocations: 4.188 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.02137, allocations: 108.7 kB / 386.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02137, allocations: 0 / 386.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.0217, allocations: 51.84 kB / 386.6 MB, free: 9.164 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.0002148/0.02192, allocations: 107.2 kB / 386.7 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.02318, allocations: 207.8 kB / 386.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02318, allocations: 0 / 386.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.02386, allocations: 96.08 kB / 387 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.0242, allocations: 23.98 kB / 387.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.02497, allocations: 330.1 kB / 387.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.02512, allocations: 134.2 kB / 387.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.539e-05/0.02521, allocations: 24.47 kB / 387.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.02527, allocations: 20.48 kB / 387.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02527, allocations: 0 / 387.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of Templates: time 0.006855/0.03212, allocations: 2.594 MB / 390.1 MB, free: 5.684 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) [Timeout 480] 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.1339293860364705]