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_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.001002/0.001002, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001085/0.001085, allocations: 170.4 kB / 25.61 MB, free: 8.902 MB / 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 0.9255/0.9255, allocations: 177.1 MB / 206 MB, free: 4.5 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.1325/0.1325, allocations: 32.8 MB / 295.4 MB, free: 15.47 MB / 282.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.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eta.[0-9,]+.|rho.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.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.[0-9,]+.|rho.[0-9,]+.|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.282e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001672/0.001684, allocations: 1.871 MB / 379.2 MB, free: 23.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.002384, allocations: 0.6112 MB / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.002449, allocations: 0 / 379.8 MB, free: 23.08 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.002692, allocations: 55.67 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.002807, allocations: 75.47 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.003053, allocations: 115.5 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.003207, allocations: 246.6 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.00325, allocations: 20.56 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.003335, allocations: 115.6 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.272e-05/0.003428, allocations: 87.66 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.003445, allocations: 8 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.003647, allocations: 167.8 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.0037, allocations: 59.64 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.003746, allocations: 63.73 kB / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.004031, allocations: 314.9 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004033, allocations: 0 / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004033, allocations: 4 kB / 381.1 MB, free: 21.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004038, allocations: 0 / 381.1 MB, free: 21.77 MB / 314.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.0004159/0.004454, allocations: 0.5506 MB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.004489, allocations: 15.98 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008911/0.00538, allocations: 180.4 kB / 381.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.00558, allocations: 200.1 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.005596, allocations: 12.88 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.005628, allocations: 24.38 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.00598, allocations: 286.1 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.00599, allocations: 192 / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.006014, allocations: 8.375 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.006048, allocations: 32.58 kB / 382.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.006233, allocations: 192.4 kB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.007158, allocations: 0.7151 MB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.007291, allocations: 66.94 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.00734, allocations: 19.67 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.007351, allocations: 0 / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.007368, allocations: 41.39 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.007369, allocations: 4 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002704/0.007639, allocations: 93.52 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.007658, allocations: 59.28 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.007723, allocations: 208.7 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.007737, allocations: 25.7 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.007791, allocations: 230.7 kB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.007811, allocations: 27.78 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.00787, allocations: 47.28 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.207e-05/0.007912, allocations: 0.5001 MB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.294e-05/0.007965, allocations: 15.98 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/0.008027, allocations: 62.7 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.008145, allocations: 82.66 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008147, allocations: 4 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001942/0.008341, allocations: 121.5 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.008358, allocations: 4 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.008363, allocations: 0 / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.008373, allocations: 11.92 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.01068, allocations: 379.5 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.01181, allocations: 2.758 MB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.01195, allocations: 27.86 kB / 388 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.01196, allocations: 12.17 kB / 388 MB, free: 14.48 MB / 314.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 8.19e-05/0.01204, allocations: 160.6 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.01208, allocations: 11.89 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.01212, allocations: 20.77 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01212, allocations: 0 / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01212, allocations: 0 / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.01212, allocations: 0 / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.01228, allocations: 165.2 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01228, allocations: 4 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/0.01447, allocations: 375.4 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01447, allocations: 0 / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01448, allocations: 7.984 kB / 388.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008543/0.01534, allocations: 2.762 MB / 391.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01534, allocations: 0 / 391.5 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.01553, allocations: 227.8 kB / 391.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.01554, allocations: 7.953 kB / 391.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.01557, allocations: 3.938 kB / 391.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.01569, allocations: 11.98 kB / 391.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.01573, allocations: 15.91 kB / 391.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.01574, allocations: 11.98 kB / 391.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.799e-05/0.01577, allocations: 146.1 kB / 392 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01577, allocations: 0 / 392 MB, free: 10.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002447/0.01602, allocations: 87.67 kB / 392 MB, free: 10.35 MB / 314.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.0001372/0.01615, allocations: 113.8 kB / 392.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.01847, allocations: 399.2 kB / 392.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01847, allocations: 0 / 392.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.02056, allocations: 371.4 kB / 392.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.02079, allocations: 20.12 kB / 392.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.0215, allocations: 418.1 kB / 393.3 MB, free: 9.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.813e-05/0.02154, allocations: 99.28 kB / 393.4 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.0216, allocations: 20.7 kB / 393.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.02168, allocations: 82.19 kB / 393.5 MB, free: 8.797 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02168, allocations: 7.938 kB / 393.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of Templates: time 0.00592/0.0276, allocations: 5.316 MB / 398.9 MB, free: 3.543 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_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.3560587377287447]