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_laminar_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.0009509/0.0009509, allocations: 83.58 kB / 21.19 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.0009476/0.0009476, allocations: 161 kB / 24.56 MB, free: 16 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 0.9288/0.9288, allocations: 177.1 MB / 205 MB, free: 5.645 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.2448/0.2448, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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_laminar_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_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.687e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002062/0.002079, allocations: 1.868 MB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.003073, allocations: 0.8216 MB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.003138, allocations: 0 / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.003401, allocations: 35.77 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.003664, allocations: 79.52 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.003843, allocations: 79.59 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.003995, allocations: 139.4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.004036, allocations: 4 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.004214, allocations: 91.72 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.004332, allocations: 83.75 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.004347, allocations: 4 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.004447, allocations: 47.92 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.004515, allocations: 31.89 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.004557, allocations: 27.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.004788, allocations: 139.4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004791, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004791, allocations: 4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.004795, allocations: 0 / 381.5 MB, free: 15.16 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006435/0.005439, allocations: 440.1 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.005472, allocations: 8.031 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.005707, allocations: 48.8 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.005835, allocations: 136.4 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.005845, allocations: 8.359 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.005863, allocations: 12.38 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.006064, allocations: 149.9 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.006074, allocations: 7.938 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.006087, allocations: 8 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.006115, allocations: 11.98 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.006203, allocations: 54.95 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.006718, allocations: 0.634 MB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.006898, allocations: 87.12 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.006929, allocations: 19.67 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.006943, allocations: 0 / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.006963, allocations: 41.33 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 6.82e-07/0.006964, allocations: 7.938 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001619/0.007126, allocations: 73.58 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.00715, allocations: 51.41 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.007234, allocations: 189.8 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.007243, allocations: 25.7 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.007298, allocations: 166.8 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.007314, allocations: 31.78 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.007349, allocations: 35.38 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.007445, allocations: 0.4884 MB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.007471, allocations: 15.98 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.00753, allocations: 100.3 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.236e-05/0.007622, allocations: 129.5 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007624, allocations: 0 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001242/0.007748, allocations: 125.4 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00776, allocations: 9.5 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.007767, allocations: 4 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.007782, allocations: 256 / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.007867, allocations: 39.98 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.007872, allocations: 0 / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.007916, allocations: 23.88 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.007923, allocations: 4 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.088e-05/0.007984, allocations: 164.5 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.008004, allocations: 15.89 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.008122, allocations: 82.05 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.008123, allocations: 0 / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.008128, allocations: 8 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.008131, allocations: 3.984 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.008238, allocations: 148.5 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.008239, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.008313, allocations: 23.98 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008315, allocations: 0 / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.008323, allocations: 3.938 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008324, allocations: 0 / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.008328, allocations: 7.984 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.008463, allocations: 215.9 kB / 385.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.008472, allocations: 11.94 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.008486, allocations: 7.875 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.008544, allocations: 0 / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.008587, allocations: 11.98 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.008591, allocations: 0 / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.008639, allocations: 146.8 kB / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008639, allocations: 0 / 385.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.008899, allocations: 23.95 kB / 385.5 MB, free: 10.79 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.925e-05/0.008998, allocations: 107.2 kB / 385.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.009125, allocations: 63.52 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.009126, allocations: 0 / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.657e-05/0.009163, allocations: 23.69 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.009401, allocations: 11.98 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.01004, allocations: 254.6 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.01009, allocations: 71.33 kB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.963e-05/0.01016, allocations: 28.45 kB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.0102, allocations: 16.5 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0102, allocations: 0 / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.002921/0.01312, allocations: 0.9216 MB / 387 MB, free: 9.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_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.285929372999817]