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.001577/0.001577, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001159/0.001159, allocations: 166.2 kB / 24.91 MB, free: 8.762 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.054/1.054, allocations: 177 MB / 205.2 MB, free: 4.965 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.2649/0.2649, allocations: 34.86 MB / 296.6 MB, free: 476 kB / 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.633e-06/1.633e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.565e-05, allocations: 5.266 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003338/0.003364, allocations: 1.885 MB / 327.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004151/0.007515, allocations: 2.887 MB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.007619, allocations: 4 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.007905, allocations: 35.77 kB / 330.8 MB, free: 2.309 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.00824, allocations: 95.42 kB / 330.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.0102, allocations: 0.7352 MB / 331.6 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.01054, allocations: 254.5 kB / 331.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.01061, allocations: 22.55 kB / 331.9 MB, free: 1.207 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.01093, allocations: 139.5 kB / 332 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.01113, allocations: 107.6 kB / 332.1 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.01115, allocations: 8 kB / 332.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.01245, allocations: 0.6118 MB / 332.7 MB, free: 348 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.01256, allocations: 71.7 kB / 332.8 MB, free: 276 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.283e-05/0.01265, allocations: 75.66 kB / 332.9 MB, free: 200 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.01396, allocations: 0.7902 MB / 333.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.01396, allocations: 0 / 333.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01396, allocations: 0 / 333.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.01397, allocations: 0 / 333.6 MB, free: 15.4 MB / 314.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.000911/0.01488, allocations: 0.5659 MB / 334.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.01492, allocations: 12.02 kB / 334.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.01502, allocations: 40.91 kB / 334.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.01525, allocations: 165.3 kB / 334.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.01528, allocations: 20.78 kB / 334.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.01534, allocations: 27.98 kB / 334.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.01587, allocations: 287.5 kB / 334.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.01588, allocations: 0 / 334.8 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.01591, allocations: 12 kB / 334.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.108e-05/0.01598, allocations: 44.97 kB / 334.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.01627, allocations: 166.9 kB / 335 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.01767, allocations: 0.7826 MB / 335.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.01808, allocations: 142 kB / 335.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.01815, allocations: 32.84 kB / 335.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.01819, allocations: 8 kB / 335.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.01822, allocations: 34.56 kB / 336 MB, free: 12.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.01822, allocations: 0 / 336 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003121/0.01853, allocations: 136.4 kB / 336.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.01857, allocations: 55.34 kB / 336.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.01868, allocations: 156.5 kB / 336.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.01871, allocations: 37.69 kB / 336.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01883, allocations: 196.2 kB / 336.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.0189, allocations: 95.14 kB / 336.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.01899, allocations: 65.61 kB / 336.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.01909, allocations: 322.8 kB / 337 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.01915, allocations: 23.98 kB / 337 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01926, allocations: 120.6 kB / 337.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.01948, allocations: 177.7 kB / 337.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01949, allocations: 0 / 337.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002821/0.01977, allocations: 173.4 kB / 337.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.01979, allocations: 4 kB / 337.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.0198, allocations: 4 kB / 337.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01982, allocations: 7.938 kB / 337.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.02024, allocations: 111.9 kB / 337.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.02139, allocations: 2.355 MB / 340 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.02151, allocations: 31.77 kB / 340 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.02154, allocations: 12 kB / 340 MB, free: 8.684 MB / 314.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.0001428/0.02168, allocations: 128.6 kB / 340.1 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.02172, allocations: 19.92 kB / 340.2 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.02212, allocations: 212.8 kB / 340.4 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.02212, allocations: 4 kB / 340.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.02213, allocations: 4 kB / 340.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.02213, allocations: 3.984 kB / 340.4 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.02239, allocations: 149.7 kB / 340.5 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.0224, allocations: 4 kB / 340.5 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.02274, allocations: 99.88 kB / 340.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.02275, allocations: 0 / 340.6 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02277, allocations: 15.94 kB / 340.6 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009497/0.02372, allocations: 2.357 MB / 343 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02372, allocations: 0 / 343 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.02405, allocations: 234.5 kB / 343.2 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.02408, allocations: 19.84 kB / 343.2 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.02411, allocations: 4 kB / 343.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.02421, allocations: 7.984 kB / 343.3 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.02427, allocations: 19.97 kB / 343.3 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.02429, allocations: 24.05 kB / 343.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.056e-05/0.02432, allocations: 20.84 kB / 343.3 MB, free: 5.223 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02432, allocations: 0 / 343.3 MB, free: 5.223 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008315/0.02516, allocations: 246.8 kB / 343.6 MB, free: 4.98 MB / 314.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.0007086/0.02586, allocations: 363.1 kB / 343.9 MB, free: 4.617 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.02631, allocations: 177.1 kB / 344.1 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.02632, allocations: 0 / 344.1 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.02657, allocations: 108.7 kB / 344.2 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.02681, allocations: 12.69 kB / 344.2 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.02815, allocations: 0.545 MB / 344.8 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.02826, allocations: 116.2 kB / 344.9 MB, free: 3.609 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.02843, allocations: 49.8 kB / 344.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.02856, allocations: 79.36 kB / 345 MB, free: 3.477 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.02856, allocations: 4 kB / 345 MB, free: 3.473 MB / 314.7 MB Notification: Performance of Templates: time 0.01365/0.04221, allocations: 7.14 MB / 352.1 MB, free: 12.39 MB / 330.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.397055800072849]