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_volumeFlowRate_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.0009484/0.0009484, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001699/0.002648, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007444/0.0007444, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009645/0.001709, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.056/1.056, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1226/1.179, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.3158/0.3158, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0294/0.3452, allocations: 12.53 MB / 289.3 MB, free: 8.672 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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[0-9,]+.|rho|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_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|V_flow.[0-9,]+.|a.[0-9,]+.|rho|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_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.256e-05, allocations: 2.312 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002271/0.002284, allocations: 1.762 MB / 292.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.003377, allocations: 0.8955 MB / 293.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.003435, allocations: 4 kB / 293.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.003579, allocations: 42.52 kB / 293.3 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.003733, allocations: 46.53 kB / 293.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.00402, allocations: 127.6 kB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.004192, allocations: 150.8 kB / 293.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.00424, allocations: 10.28 kB / 293.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.004356, allocations: 87.72 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.00447, allocations: 55.81 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.004488, allocations: 4 kB / 293.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.004763, allocations: 171.6 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.004822, allocations: 39.84 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.004866, allocations: 27.94 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.005147, allocations: 203.3 kB / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.459e-05/0.005162, allocations: 0 / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005163, allocations: 3.938 kB / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.005182, allocations: 0 / 294.2 MB, free: 4.664 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006003/0.005783, allocations: 400.3 kB / 294.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005821, allocations: 12.03 kB / 294.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006224/0.006443, allocations: 193.8 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.006617, allocations: 149.5 kB / 295 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.006633, allocations: 12.36 kB / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.006654, allocations: 8.375 kB / 295 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.006973, allocations: 209.5 kB / 295.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006984, allocations: 4.188 kB / 295.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.007001, allocations: 4.375 kB / 295.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.007041, allocations: 31.91 kB / 295.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.007159, allocations: 83.95 kB / 295.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.007872, allocations: 419.9 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.008085, allocations: 132.1 kB / 295.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.008128, allocations: 28.83 kB / 295.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.008151, allocations: 7.938 kB / 295.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.008178, allocations: 30.56 kB / 295.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/0.008181, allocations: 3.938 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.00023/0.008411, allocations: 97.62 kB / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.008452, allocations: 55.41 kB / 296.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.008541, allocations: 144.9 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.008559, allocations: 25.7 kB / 296.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.008624, allocations: 144.1 kB / 296.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.008651, allocations: 39.62 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.008711, allocations: 41.67 kB / 296.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.008809, allocations: 330.8 kB / 296.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.008855, allocations: 22.8 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.008931, allocations: 78.83 kB / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.009072, allocations: 124.3 kB / 297 MB, free: 1.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.009076, allocations: 4 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001639/0.009239, allocations: 116.3 kB / 297.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.009253, allocations: 10.03 kB / 297.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.009259, allocations: 0 / 297.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.009272, allocations: 4 kB / 297.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.009555, allocations: 96.05 kB / 297.2 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008022/0.01036, allocations: 1.763 MB / 299 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.01044, allocations: 23.81 kB / 299 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.01046, allocations: 11.98 kB / 299 MB, free: 15.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.367e-05/0.01054, allocations: 124.6 kB / 299.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.01057, allocations: 8.172 kB / 299.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.01077, allocations: 130.7 kB / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01077, allocations: 0 / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01078, allocations: 0 / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01078, allocations: 0 / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.01091, allocations: 117.8 kB / 299.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01091, allocations: 0 / 299.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.01109, allocations: 75.89 kB / 299.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.0111, allocations: 11.89 kB / 299.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01111, allocations: 0 / 299.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01112, allocations: 11.98 kB / 299.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/0.01183, allocations: 1.777 MB / 301.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01183, allocations: 3.938 kB / 301.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.01199, allocations: 229 kB / 301.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.012, allocations: 0 / 301.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.01208, allocations: 8 kB / 301.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.01212, allocations: 15.95 kB / 301.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.01213, allocations: 11.98 kB / 301.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.984e-05/0.01215, allocations: 20.83 kB / 301.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01215, allocations: 3.938 kB / 301.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.01237, allocations: 79.73 kB / 301.6 MB, free: 12.81 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 (10): * Single equations (assignments): 7 * 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.0002007/0.01258, allocations: 128.3 kB / 301.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.01278, allocations: 104.6 kB / 301.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.01279, allocations: 0 / 301.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.01288, allocations: 64.8 kB / 301.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.01305, allocations: 34.39 kB / 302 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.01555, allocations: 342.7 kB / 302.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.577e-05/0.0156, allocations: 83.31 kB / 302.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.01571, allocations: 44.83 kB / 302.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.01581, allocations: 71.34 kB / 302.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01581, allocations: 0 / 302.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of Templates: time 0.004582/0.02039, allocations: 2.631 MB / 305.1 MB, free: 9.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_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.1084271743893623]