Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.001564/0.001564, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001765/0.001765, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.426/1.426, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 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.2081/0.2081, allocations: 32.82 MB / 293.5 MB, free: 20 kB / 270.1 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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.716e-05, allocations: 6.281 kB / 440.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003642/0.003669, allocations: 1.782 MB / 441.9 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.005242, allocations: 0.771 MB / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.005353, allocations: 0 / 442.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.005597, allocations: 43.64 kB / 442.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.005909, allocations: 83.52 kB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.006145, allocations: 67.72 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.006366, allocations: 139.3 kB / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.00642, allocations: 4 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.006724, allocations: 95.7 kB / 443.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.00692, allocations: 79.77 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.006946, allocations: 4 kB / 443.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.0071, allocations: 55.91 kB / 443.2 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.007186, allocations: 35.83 kB / 443.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.007244, allocations: 23.92 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.007591, allocations: 143.5 kB / 443.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.007595, allocations: 3.938 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007596, allocations: 0 / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.007602, allocations: 0 / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006779/0.00828, allocations: 333.9 kB / 443.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.008327, allocations: 8.031 kB / 443.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.008677, allocations: 36.86 kB / 443.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.008906, allocations: 133.7 kB / 443.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.008925, allocations: 12.34 kB / 444 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.008948, allocations: 8.375 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.009375, allocations: 178 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.009388, allocations: 3.938 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.009408, allocations: 4 kB / 444.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.009441, allocations: 11.98 kB / 444.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.009792, allocations: 139.8 kB / 444.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008592/0.01065, allocations: 0.5121 MB / 444.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.011, allocations: 106.7 kB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.01114, allocations: 44.77 kB / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.01116, allocations: 0 / 445 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.01119, allocations: 38.5 kB / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01119, allocations: 0 / 445 MB, free: 3.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004766/0.01167, allocations: 133.6 kB / 445.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.01172, allocations: 59.39 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01185, allocations: 126 kB / 445.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.01187, allocations: 25.7 kB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.01195, allocations: 132 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.01197, allocations: 20 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.01202, allocations: 29.72 kB / 445.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.01217, allocations: 322.8 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.01229, allocations: 39.84 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.01246, allocations: 103.6 kB / 446 MB, free: 2.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.01276, allocations: 143.5 kB / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01276, allocations: 0 / 446.1 MB, free: 1.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003835/0.01314, allocations: 165.4 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.01316, allocations: 11.94 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.01317, allocations: 0 / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.01319, allocations: 4 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.01337, allocations: 43.91 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01338, allocations: 0 / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.01348, allocations: 15.94 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.0135, allocations: 16.25 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.01361, allocations: 126.4 kB / 446.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.01365, allocations: 11.89 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.014, allocations: 122 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.014, allocations: 4 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.01401, allocations: 0 / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01401, allocations: 0 / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.0142, allocations: 141.3 kB / 446.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0142, allocations: 4 kB / 446.8 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.01434, allocations: 23.98 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01434, allocations: 0 / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01436, allocations: 3.938 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01436, allocations: 4 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01436, allocations: 0 / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.0147, allocations: 207.4 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.01471, allocations: 11.95 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.01473, allocations: 3.938 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01484, allocations: 11.98 kB / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.01488, allocations: 7.984 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01489, allocations: 0 / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.01496, allocations: 98.39 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01496, allocations: 3.938 kB / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.01524, allocations: 31.89 kB / 447.2 MB, free: 0.7695 MB / 366.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001541/0.01539, allocations: 103.2 kB / 447.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.01573, allocations: 100.3 kB / 447.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01573, allocations: 0 / 447.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.01586, allocations: 35.97 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.01611, allocations: 8.5 kB / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.01662, allocations: 241.7 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.01674, allocations: 101.4 kB / 447.7 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.074e-05/0.01683, allocations: 28.45 kB / 447.8 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.01687, allocations: 16.5 kB / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.01687, allocations: 0 / 447.8 MB, free: 88 kB / 366.1 MB Notification: Performance of Templates: time 0.1654/0.1822, allocations: 0.917 MB / 448.7 MB, free: 21.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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: 4.7066284120082855]