Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009808/0.0009808, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.0009529/0.0009529, allocations: 163.8 kB / 24.99 MB, free: 8.789 MB / 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.344/0.344, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.235e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003997/0.004029, allocations: 1.891 MB / 379.9 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.008358, allocations: 2.866 MB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.008505, allocations: 4 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.008852, allocations: 43.73 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.009217, allocations: 95.38 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.01118, allocations: 0.7352 MB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.01151, allocations: 250.6 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.331e-05/0.01157, allocations: 12.59 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.01188, allocations: 143.4 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.01206, allocations: 103.6 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.01209, allocations: 12 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.01335, allocations: 0.6118 MB / 384.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.01347, allocations: 79.69 kB / 384.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.01357, allocations: 67.72 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.01484, allocations: 0.7785 MB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01485, allocations: 3.938 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01485, allocations: 0 / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.01486, allocations: 4 kB / 385.7 MB, free: 11.24 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.001001/0.01586, allocations: 0.7134 MB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.01591, allocations: 8.031 kB / 386.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.01603, allocations: 56.64 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.01629, allocations: 180.2 kB / 386.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.01632, allocations: 24.77 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.01637, allocations: 28 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.0169, allocations: 288.7 kB / 387 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.01691, allocations: 4 kB / 387 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.01694, allocations: 8 kB / 387 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.408e-05/0.01702, allocations: 52.97 kB / 387.1 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.01745, allocations: 249.8 kB / 387.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.01905, allocations: 0.9504 MB / 388.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.01948, allocations: 179 kB / 388.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.01959, allocations: 51.66 kB / 388.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.01962, allocations: 8 kB / 388.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.01965, allocations: 33.39 kB / 388.5 MB, free: 8.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.01966, allocations: 4 kB / 388.5 MB, free: 8.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004941/0.02015, allocations: 202.7 kB / 388.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.0202, allocations: 63.28 kB / 388.8 MB, free: 7.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.02034, allocations: 201.9 kB / 389 MB, free: 7.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.02037, allocations: 33.69 kB / 389 MB, free: 7.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.0205, allocations: 246.9 kB / 389.3 MB, free: 7.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.02056, allocations: 95.61 kB / 389.4 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.02067, allocations: 79.3 kB / 389.4 MB, free: 7.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.02083, allocations: 0.4962 MB / 389.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.02093, allocations: 43.83 kB / 390 MB, free: 6.758 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.0211, allocations: 165.6 kB / 390.1 MB, free: 6.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.0214, allocations: 216.3 kB / 390.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.02141, allocations: 3.938 kB / 390.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004354/0.02184, allocations: 241.5 kB / 390.6 MB, free: 6.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.02187, allocations: 10.03 kB / 390.6 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.02188, allocations: 4 kB / 390.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.0219, allocations: 11.98 kB / 390.6 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.02235, allocations: 131.8 kB / 390.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.02353, allocations: 3.585 MB / 394.3 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.02366, allocations: 27.78 kB / 394.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.02368, allocations: 16 kB / 394.4 MB, free: 2.145 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.0001504/0.02383, allocations: 176.5 kB / 394.6 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.02388, allocations: 27.89 kB / 394.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.02427, allocations: 275.2 kB / 394.8 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.02428, allocations: 4 kB / 394.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02428, allocations: 0 / 394.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.02429, allocations: 0 / 394.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.02455, allocations: 256.3 kB / 395.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02455, allocations: 4 kB / 395.1 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.02481, allocations: 111.9 kB / 395.2 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.02481, allocations: 4 kB / 395.2 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.02483, allocations: 11.98 kB / 395.2 MB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.02586, allocations: 3.573 MB / 398.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.02586, allocations: 3.938 kB / 398.8 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.02612, allocations: 339.8 kB / 399.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.02614, allocations: 19.78 kB / 399.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.02616, allocations: 8 kB / 399.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.02624, allocations: 8 kB / 399.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.0263, allocations: 27.89 kB / 399.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.02631, allocations: 12 kB / 399.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.02637, allocations: 141.4 kB / 399.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02637, allocations: 96 / 399.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005917/0.02696, allocations: 258.7 kB / 399.6 MB, free: 12.73 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.0006229/0.02758, allocations: 378 kB / 400 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.02801, allocations: 212.5 kB / 400.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02801, allocations: 0 / 400.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.0282, allocations: 148 kB / 400.3 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.02844, allocations: 23.98 kB / 400.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.0294, allocations: 0.5291 MB / 400.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.579e-05/0.02946, allocations: 108.3 kB / 401 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.02963, allocations: 89.72 kB / 401.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.02968, allocations: 28.5 kB / 401.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02968, allocations: 0 / 401.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of Templates: time 0.008018/0.0377, allocations: 6.217 MB / 407.3 MB, free: 5.012 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.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.7924791381228715]