Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.001458/0.001458, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001653/0.001653, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 1.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.59 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.2955/0.2955, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.314e-05, allocations: 2.312 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002755/0.002788, allocations: 1.895 MB / 377.9 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.005901, allocations: 2.89 MB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.006013, allocations: 0 / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.006275, allocations: 39.75 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.006582, allocations: 87.44 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.008127, allocations: 0.7391 MB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.008389, allocations: 250.5 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.008438, allocations: 16.58 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.008694, allocations: 139.5 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.008827, allocations: 107.6 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.008848, allocations: 8 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009194/0.009768, allocations: 0.6118 MB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.009879, allocations: 75.69 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.00997, allocations: 75.66 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.011, allocations: 0.7863 MB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01101, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01101, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.01101, allocations: 0 / 383.8 MB, free: 12.88 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.0008141/0.01183, allocations: 0.7095 MB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01187, allocations: 8.031 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.01196, allocations: 60.69 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.01216, allocations: 184.1 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.01218, allocations: 20.78 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.01221, allocations: 31.98 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.01258, allocations: 292.7 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.01259, allocations: 4 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.01261, allocations: 8 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.01267, allocations: 48.97 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/0.01295, allocations: 245.8 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.01408, allocations: 0.9543 MB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.01438, allocations: 175 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.01445, allocations: 51.66 kB / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.01448, allocations: 8 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.01451, allocations: 33.39 kB / 386.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/0.01451, allocations: 4 kB / 386.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003316/0.01484, allocations: 210.6 kB / 386.8 MB, free: 9.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.01488, allocations: 63.34 kB / 386.8 MB, free: 9.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01498, allocations: 201.9 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.01499, allocations: 29.7 kB / 387.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.01509, allocations: 246.9 kB / 387.3 MB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.01514, allocations: 95.16 kB / 387.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.896e-05/0.01521, allocations: 79.3 kB / 387.5 MB, free: 8.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.01532, allocations: 0.5 MB / 388 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.01538, allocations: 43.83 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.01549, allocations: 157.7 kB / 388.2 MB, free: 8.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.01568, allocations: 220 kB / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01569, allocations: 0 / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002604/0.01595, allocations: 237.3 kB / 388.6 MB, free: 7.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01596, allocations: 8 kB / 388.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01597, allocations: 0 / 388.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01599, allocations: 8 kB / 388.6 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.01629, allocations: 135.8 kB / 388.8 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.01733, allocations: 3.581 MB / 392.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/0.01743, allocations: 31.77 kB / 392.4 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.01745, allocations: 16 kB / 392.4 MB, free: 3.793 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 0.0001013/0.01755, allocations: 176.5 kB / 392.6 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.01758, allocations: 28.16 kB / 392.6 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.01793, allocations: 267.1 kB / 392.8 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01793, allocations: 8 kB / 392.9 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01793, allocations: 0 / 392.9 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01794, allocations: 3.984 kB / 392.9 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.01814, allocations: 260.7 kB / 393.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01814, allocations: 0 / 393.1 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.01837, allocations: 111.9 kB / 393.2 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01838, allocations: 4 kB / 393.2 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.01839, allocations: 16 kB / 393.2 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008973/0.01929, allocations: 3.573 MB / 396.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01929, allocations: 3.938 kB / 396.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.01954, allocations: 339.7 kB / 397.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.01955, allocations: 15.84 kB / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01957, allocations: 11.98 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.01963, allocations: 8.25 kB / 397.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.01969, allocations: 27.91 kB / 397.2 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.0197, allocations: 19.92 kB / 397.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.01975, allocations: 142.5 kB / 397.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01975, allocations: 0 / 397.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.02026, allocations: 250.7 kB / 397.6 MB, free: 14.38 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.0005128/0.02077, allocations: 381.9 kB / 398 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003443/0.02111, allocations: 208.5 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02111, allocations: 0 / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.02128, allocations: 148 kB / 398.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.0215, allocations: 20.69 kB / 398.4 MB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.02246, allocations: 0.5349 MB / 398.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.335e-05/0.02253, allocations: 112.3 kB / 399 MB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.02268, allocations: 85.72 kB / 399.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.02274, allocations: 32.48 kB / 399.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02274, allocations: 0 / 399.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01173/0.03447, allocations: 7.395 MB / 406.5 MB, free: 5.469 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5513755809515715]