Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009833/0.0009833, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001089/0.001089, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9722/0.9722, allocations: 158.6 MB / 185.9 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1272/0.1272, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 4 kB / 348.2 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.49e-05, allocations: 2.312 kB / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002272/0.002297, allocations: 1.874 MB / 350 MB, free: 7.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.003027, allocations: 0.6113 MB / 350.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.003094, allocations: 4 kB / 350.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.003355, allocations: 51.61 kB / 350.7 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.003483, allocations: 75.52 kB / 350.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.003832, allocations: 123.5 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.004034, allocations: 242.6 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.004082, allocations: 8.594 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.00419, allocations: 115.6 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.004304, allocations: 95.64 kB / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.004322, allocations: 4 kB / 351.3 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.004557, allocations: 163.8 kB / 351.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.335e-05/0.00463, allocations: 63.7 kB / 351.6 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.004698, allocations: 71.72 kB / 351.6 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.004998, allocations: 310.9 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.005001, allocations: 0 / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.005002, allocations: 0 / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.005006, allocations: 0 / 351.9 MB, free: 5.344 MB / 282.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.0004104/0.005416, allocations: 0.5622 MB / 352.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.005452, allocations: 8.031 kB / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.006136, allocations: 176.4 kB / 352.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.006301, allocations: 200.1 kB / 352.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.006314, allocations: 12.88 kB / 352.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.006339, allocations: 24.38 kB / 352.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.006649, allocations: 278.1 kB / 353.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006659, allocations: 4.172 kB / 353.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.006681, allocations: 12.38 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.006714, allocations: 28.58 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.006886, allocations: 192.5 kB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.007773, allocations: 0.7287 MB / 354.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.0079, allocations: 59 kB / 354.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.007946, allocations: 23.67 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.00796, allocations: 11.94 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.007977, allocations: 33.39 kB / 354.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.007978, allocations: 0 / 354.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002598/0.008238, allocations: 93.52 kB / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.008257, allocations: 55.41 kB / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.789e-05/0.008325, allocations: 217 kB / 354.6 MB, free: 2.488 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.008338, allocations: 29.64 kB / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.008395, allocations: 226.8 kB / 354.9 MB, free: 2.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.008413, allocations: 31.77 kB / 354.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.008465, allocations: 43.3 kB / 354.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.008509, allocations: 0.4923 MB / 355.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.008563, allocations: 23.92 kB / 355.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.008623, allocations: 58.7 kB / 355.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.008732, allocations: 90.64 kB / 355.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.008736, allocations: 8 kB / 355.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001829/0.008919, allocations: 117.5 kB / 355.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.008933, allocations: 8 kB / 355.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.008938, allocations: 4.094 kB / 355.7 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.008953, allocations: 3.938 kB / 355.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.01094, allocations: 387.4 kB / 356.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.01228, allocations: 2.746 MB / 358.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01241, allocations: 19.88 kB / 358.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01243, allocations: 7.984 kB / 358.9 MB, free: 14.05 MB / 298.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 0.0001255/0.01255, allocations: 168.5 kB / 359.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.01259, allocations: 15.89 kB / 359.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.01263, allocations: 12.78 kB / 359.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.01264, allocations: 7.984 kB / 359.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01264, allocations: 4.062 kB / 359.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01265, allocations: 0 / 359.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.01285, allocations: 165.2 kB / 359.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01285, allocations: 0 / 359.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.0149, allocations: 371.4 kB / 359.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.0149, allocations: 0 / 359.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01491, allocations: 7.984 kB / 359.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.01614, allocations: 2.762 MB / 362.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01614, allocations: 0 / 362.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.01635, allocations: 236.1 kB / 362.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.01637, allocations: 11.89 kB / 362.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.01639, allocations: 8.094 kB / 362.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.0165, allocations: 7.984 kB / 362.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.01654, allocations: 15.97 kB / 362.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.01656, allocations: 7.984 kB / 362.7 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.01661, allocations: 139.1 kB / 362.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01661, allocations: 0 / 362.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01688, allocations: 83.73 kB / 362.9 MB, free: 9.914 MB / 298.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.0001934/0.01707, allocations: 111.2 kB / 363 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.01903, allocations: 403.2 kB / 363.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.01903, allocations: 4 kB / 363.4 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.02079, allocations: 363.1 kB / 363.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.02102, allocations: 19.98 kB / 363.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.02185, allocations: 421.5 kB / 364.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.167e-05/0.02191, allocations: 99.28 kB / 364.3 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.02197, allocations: 24.69 kB / 364.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.02207, allocations: 90.19 kB / 364.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.02207, allocations: 0 / 364.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of Templates: time 0.006705/0.02878, allocations: 5.216 MB / 369.6 MB, free: 3.203 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.404560617636889]