Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001862/0.001862, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002298/0.002298, allocations: 161.6 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.506/1.506, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.3434/0.3434, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] 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.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.538e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003437/0.003462, allocations: 1.791 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.005024, allocations: 0.7634 MB / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.005104, allocations: 0 / 379.9 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.005374, allocations: 39.7 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.005695, allocations: 83.5 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.005927, allocations: 67.67 kB / 380.1 MB, free: 184 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.006147, allocations: 139.4 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.006188, allocations: 7.938 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.006461, allocations: 99.64 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.006642, allocations: 79.81 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.006662, allocations: 4 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.006807, allocations: 51.91 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.006873, allocations: 23.91 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.006931, allocations: 31.91 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.007215, allocations: 143.4 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007217, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007218, allocations: 0 / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.007222, allocations: 4 kB / 380.6 MB, free: 15.61 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006305/0.007852, allocations: 337.8 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.007886, allocations: 8.031 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.008283, allocations: 56.78 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.008474, allocations: 129.6 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.008493, allocations: 8.375 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.008517, allocations: 12.36 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.008909, allocations: 180.6 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.008921, allocations: 3.938 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.008948, allocations: 11.97 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.008976, allocations: 8 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.009336, allocations: 131.8 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/0.01025, allocations: 0.5238 MB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.01062, allocations: 102.6 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.01075, allocations: 36.83 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.01077, allocations: 7.984 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.01081, allocations: 34.5 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.01081, allocations: 0 / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004945/0.0113, allocations: 145.6 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.01135, allocations: 55.41 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.0115, allocations: 130 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01152, allocations: 25.7 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.01161, allocations: 120 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.01163, allocations: 23.8 kB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.01169, allocations: 33.7 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.01187, allocations: 318.8 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.012, allocations: 35.95 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.01217, allocations: 102.9 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.0125, allocations: 147.8 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.0125, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003811/0.01288, allocations: 161.4 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.0129, allocations: 15.88 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.0129, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.01293, allocations: 4.25 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.01311, allocations: 39.97 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.01312, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01324, allocations: 23.88 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.01325, allocations: 4 kB / 383.6 MB, free: 12.43 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 0.0001306/0.01338, allocations: 129.8 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.01342, allocations: 15.89 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.01379, allocations: 126 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01379, allocations: 7.938 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.01379, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.0138, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.01402, allocations: 133.2 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.01402, allocations: 4 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.01418, allocations: 31.92 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01418, allocations: 0 / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.0142, allocations: 7.938 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.01421, allocations: 7.984 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01421, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.01462, allocations: 207.4 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.01464, allocations: 7.953 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.01466, allocations: 3.938 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01477, allocations: 15.92 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.01483, allocations: 3.984 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.01484, allocations: 4 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.01492, allocations: 99.27 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01492, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.01523, allocations: 27.95 kB / 384.4 MB, free: 11.54 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.0002006/0.01543, allocations: 95.25 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.01579, allocations: 100.3 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01579, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.01592, allocations: 39.97 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.0162, allocations: 16.3 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.01674, allocations: 244.5 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.01687, allocations: 101.4 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.102e-05/0.01696, allocations: 28.44 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.522e-05/0.017, allocations: 12.5 kB / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.017, allocations: 0 / 385 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Templates: time 0.004149/0.02115, allocations: 0.9242 MB / 385.9 MB, free: 9.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.90021471795626]