Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.000962/0.000962, allocations: 85.91 kB / 21.43 MB, free: 3.066 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.001224/0.001224, allocations: 163.1 kB / 24.82 MB, free: 8.875 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.076/1.076, allocations: 177 MB / 205.1 MB, free: 5.492 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.2861/0.2861, allocations: 34.87 MB / 296.6 MB, free: 0.5117 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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 379.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.606e-05, allocations: 2.312 kB / 379.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002301/0.002317, allocations: 1.876 MB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.005975, allocations: 2.831 MB / 384 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.006134, allocations: 0 / 384 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.006472, allocations: 43.75 kB / 384 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.006864, allocations: 99.38 kB / 384.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.009166, allocations: 0.7352 MB / 384.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.009504, allocations: 250.6 kB / 385.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.283e-05/0.009567, allocations: 12.59 kB / 385.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.009908, allocations: 135.5 kB / 385.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.01011, allocations: 111.6 kB / 385.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.01014, allocations: 8 kB / 385.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.01144, allocations: 0.6157 MB / 386 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.01156, allocations: 71.69 kB / 386 MB, free: 11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.01164, allocations: 67.72 kB / 386.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.01308, allocations: 0.7863 MB / 386.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01309, allocations: 0 / 386.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.01309, allocations: 0 / 386.9 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.0131, allocations: 0 / 386.9 MB, free: 10.15 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001041/0.01414, allocations: 0.7211 MB / 387.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.01418, allocations: 12.03 kB / 387.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.01429, allocations: 56.69 kB / 387.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.01451, allocations: 184.1 kB / 387.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.01454, allocations: 16.78 kB / 387.9 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.01458, allocations: 27.98 kB / 387.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.01501, allocations: 256.8 kB / 388.2 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01503, allocations: 3.938 kB / 388.2 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.01505, allocations: 8 kB / 388.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.252e-05/0.01512, allocations: 48.97 kB / 388.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.01542, allocations: 190.8 kB / 388.4 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.01686, allocations: 0.8962 MB / 389.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.01721, allocations: 161.3 kB / 389.5 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.823e-05/0.01728, allocations: 43.66 kB / 389.5 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.01733, allocations: 23.8 kB / 389.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.01736, allocations: 37.39 kB / 389.6 MB, free: 7.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.395e-06/0.01736, allocations: 4 kB / 389.6 MB, free: 7.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003253/0.01769, allocations: 174.1 kB / 389.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.01771, allocations: 59.34 kB / 389.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.01781, allocations: 208.5 kB / 390 MB, free: 6.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.01783, allocations: 33.7 kB / 390 MB, free: 6.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.134e-05/0.01792, allocations: 246.8 kB / 390.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.01796, allocations: 99.19 kB / 390.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/0.01803, allocations: 87.27 kB / 390.5 MB, free: 6.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01815, allocations: 0.4962 MB / 391 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.01818, allocations: 31.83 kB / 391 MB, free: 5.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.01828, allocations: 149.7 kB / 391.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.01843, allocations: 216.2 kB / 391.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01844, allocations: 4 kB / 391.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002166/0.01865, allocations: 213.6 kB / 391.6 MB, free: 5.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.01867, allocations: 8.031 kB / 391.6 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01867, allocations: 7.938 kB / 391.6 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01869, allocations: 4 kB / 391.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.01905, allocations: 127.9 kB / 391.7 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.02008, allocations: 3.589 MB / 395.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.02017, allocations: 27.78 kB / 395.3 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.02018, allocations: 19.98 kB / 395.3 MB, free: 1.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.092e-05/0.02027, allocations: 172.5 kB / 395.5 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.0203, allocations: 27.84 kB / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.0206, allocations: 247.2 kB / 395.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0206, allocations: 4 kB / 395.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.02061, allocations: 0 / 395.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.02061, allocations: 0 / 395.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.02079, allocations: 209 kB / 396 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.0208, allocations: 4 kB / 396 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.02101, allocations: 115.9 kB / 396.1 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.02102, allocations: 7.938 kB / 396.1 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.02103, allocations: 8 kB / 396.1 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/0.02192, allocations: 3.585 MB / 399.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02192, allocations: 0 / 399.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.02213, allocations: 327.7 kB / 400 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.02214, allocations: 15.84 kB / 400 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.02216, allocations: 8 kB / 400 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-05/0.02222, allocations: 11.98 kB / 400 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.02226, allocations: 19.97 kB / 400.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.02227, allocations: 8 kB / 400.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.158e-05/0.02231, allocations: 141.4 kB / 400.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02231, allocations: 0 / 400.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005421/0.02286, allocations: 258.7 kB / 400.5 MB, free: 11.97 MB / 378.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000457/0.02331, allocations: 381.9 kB / 400.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.0236, allocations: 208 kB / 401 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0236, allocations: 0 / 401 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.02375, allocations: 128 kB / 401.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.02395, allocations: 20 kB / 401.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008451/0.0248, allocations: 0.5246 MB / 401.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.794e-05/0.02486, allocations: 112.3 kB / 401.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.02498, allocations: 49.8 kB / 401.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.02507, allocations: 102.2 kB / 402 MB, free: 10.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/0.02507, allocations: 0 / 402 MB, free: 10.39 MB / 378.7 MB Notification: Performance of Templates: time 0.008828/0.0339, allocations: 7.189 MB / 409.2 MB, free: 3.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_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.5600046068429947]