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.001449/0.001449, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001021/0.001021, allocations: 161 kB / 24.56 MB, free: 16 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2745/0.2745, allocations: 32.8 MB / 294.3 MB, free: 1.227 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.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|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.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|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.312e-06/1.312e-06, allocations: 0 / 376 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.874e-05, allocations: 10.25 kB / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002491/0.00252, allocations: 1.853 MB / 377.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003678, allocations: 0.8255 MB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.003756, allocations: 0 / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.00402, allocations: 31.77 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.004308, allocations: 95.44 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.004508, allocations: 67.67 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.004691, allocations: 139.3 kB / 379.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.004736, allocations: 3.984 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.00494, allocations: 87.78 kB / 379.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.005078, allocations: 83.75 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.005098, allocations: 8 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.005212, allocations: 51.91 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.005285, allocations: 27.84 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.005325, allocations: 35.91 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.005559, allocations: 131.5 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005562, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005564, allocations: 3.938 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.00557, allocations: 0 / 379.5 MB, free: 1.168 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005065/0.006076, allocations: 440.1 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.006123, allocations: 12.02 kB / 379.9 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.006412, allocations: 48.8 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.00657, allocations: 136.4 kB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.006586, allocations: 4.375 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.006608, allocations: 20.36 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.006863, allocations: 157.8 kB / 380.3 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.006876, allocations: 3.938 kB / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.00689, allocations: 0 / 380.3 MB, free: 288 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.006926, allocations: 15.98 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.007019, allocations: 51.95 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.007706, allocations: 0.6379 MB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.007938, allocations: 79.2 kB / 381.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.007976, allocations: 11.69 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.007997, allocations: 4 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.008026, allocations: 41.33 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.008028, allocations: 0 / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002147/0.008243, allocations: 77.62 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.008283, allocations: 59.41 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.008401, allocations: 193.5 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.008413, allocations: 29.7 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.008494, allocations: 162.8 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.008514, allocations: 23.8 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.008562, allocations: 43.3 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.008711, allocations: 496.1 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.008743, allocations: 19.98 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.00882, allocations: 100.5 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.008933, allocations: 121 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.008936, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001441/0.00908, allocations: 121.4 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.009101, allocations: 12.19 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.009107, allocations: 4 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.009128, allocations: 4 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.009236, allocations: 39.91 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.009244, allocations: 4 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.009287, allocations: 19.89 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.009297, allocations: 4.391 kB / 382.6 MB, free: 13.72 MB / 362.7 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 8.5e-05/0.009382, allocations: 160.6 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.009403, allocations: 11.89 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.009568, allocations: 97.95 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.009571, allocations: 0 / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.009575, allocations: 0 / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.009579, allocations: 0 / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.009709, allocations: 140.6 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.009713, allocations: 7.984 kB / 383 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.009e-05/0.009783, allocations: 19.98 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.009786, allocations: 4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.009795, allocations: 7.938 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.009797, allocations: 4 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009798, allocations: 0 / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.009954, allocations: 223.8 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.009965, allocations: 4 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.009979, allocations: 7.922 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.01002, allocations: 4 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.01006, allocations: 7.984 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.01006, allocations: 4 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.7e-05/0.01011, allocations: 135.2 kB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01011, allocations: 0 / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.01028, allocations: 27.95 kB / 383.5 MB, free: 12.8 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 (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.0001456/0.01042, allocations: 119 kB / 383.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.01055, allocations: 59.53 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01055, allocations: 0 / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.01059, allocations: 35.61 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.01079, allocations: 11.55 kB / 383.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.01152, allocations: 246.2 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.022e-05/0.01158, allocations: 71.33 kB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.992e-05/0.01165, allocations: 24.47 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.01169, allocations: 16.5 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01169, allocations: 4 kB / 384.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003128/0.01482, allocations: 0.9163 MB / 385 MB, free: 11.29 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] 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","",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.4040932608768344]