Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001621, allocations: 164.9 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.035/1.035, allocations: 177 MB / 205.2 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2696/0.2696, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.487e-05, allocations: 3.297 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.005453/0.005478, allocations: 1.73 MB / 380.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.006682, allocations: 0.8842 MB / 381.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.006734, allocations: 0 / 381.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.006928, allocations: 35.72 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.007087, allocations: 43.73 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.01045, allocations: 147.3 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.01063, allocations: 143.2 kB / 381.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.01067, allocations: 5.641 kB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.01076, allocations: 75.8 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.01086, allocations: 63.8 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.01088, allocations: 4 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.01112, allocations: 155.7 kB / 382 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.01119, allocations: 43.84 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.01124, allocations: 47.84 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.01157, allocations: 235.1 kB / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.01157, allocations: 0 / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01157, allocations: 0 / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.01158, allocations: 0 / 382.4 MB, free: 14.76 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005125/0.01209, allocations: 499.7 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01212, allocations: 12.03 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.01294, allocations: 128.6 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.01314, allocations: 164.3 kB / 383.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.01316, allocations: 12.38 kB / 383.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.01319, allocations: 20.3 kB / 383.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.01388, allocations: 214.7 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01389, allocations: 4.172 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.01391, allocations: 8.359 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.01395, allocations: 23.92 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.01423, allocations: 139.9 kB / 383.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.01523, allocations: 0.5553 MB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.01556, allocations: 106.9 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.01564, allocations: 35.7 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.01567, allocations: 8 kB / 384.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.01569, allocations: 37.39 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/0.01569, allocations: 0 / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004195/0.01611, allocations: 145.6 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.01615, allocations: 55.41 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.01627, allocations: 193.9 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01629, allocations: 37.64 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.01637, allocations: 194.8 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.0164, allocations: 31.7 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.01649, allocations: 59.33 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.01662, allocations: 0.4961 MB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.904e-05/0.01671, allocations: 31.97 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.01684, allocations: 105.5 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.01707, allocations: 141.3 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01707, allocations: 0 / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003516/0.01742, allocations: 173.4 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01744, allocations: 6.5 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01744, allocations: 4 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01746, allocations: 0 / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.0178, allocations: 79.88 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/0.01877, allocations: 2.7 MB / 388.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.0189, allocations: 15.83 kB / 388.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.01893, allocations: 15.98 kB / 388.8 MB, free: 7.996 MB / 362.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 0.0001081/0.01904, allocations: 172.4 kB / 388.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.01909, allocations: 11.95 kB / 388.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.01946, allocations: 166.7 kB / 389.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01946, allocations: 0 / 389.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01946, allocations: 3.938 kB / 389.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01947, allocations: 0 / 389.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.01968, allocations: 188.5 kB / 389.3 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01968, allocations: 0 / 389.3 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.01994, allocations: 63.94 kB / 389.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.01994, allocations: 3.984 kB / 389.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.01997, allocations: 11.98 kB / 389.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.02102, allocations: 2.695 MB / 392.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.02102, allocations: 3.938 kB / 392.1 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.02135, allocations: 275.7 kB / 392.3 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.02136, allocations: 7.953 kB / 392.3 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.02139, allocations: 4.188 kB / 392.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.02153, allocations: 8 kB / 392.4 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.02159, allocations: 19.89 kB / 392.4 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.02161, allocations: 11.98 kB / 392.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.365e-05/0.02168, allocations: 149.6 kB / 392.5 MB, free: 4.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02168, allocations: 0 / 392.5 MB, free: 4.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.02205, allocations: 63.83 kB / 392.6 MB, free: 4 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 (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.0002059/0.02225, allocations: 127.1 kB / 392.7 MB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.02266, allocations: 139.5 kB / 392.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02266, allocations: 0 / 392.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.02288, allocations: 103.9 kB / 393 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.02316, allocations: 15.98 kB / 393 MB, free: 3.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.02403, allocations: 323.7 kB / 393.3 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.322e-05/0.02411, allocations: 88.38 kB / 393.4 MB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.02427, allocations: 48.92 kB / 393.4 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.02436, allocations: 24.47 kB / 393.4 MB, free: 3.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02436, allocations: 0 / 393.4 MB, free: 3.09 MB / 362.7 MB Notification: Performance of Templates: time 0.008549/0.0329, allocations: 2.733 MB / 396.2 MB, free: 416 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4515331448055804]