Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.001325/0.001325, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 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.001496/0.001496, allocations: 212.3 kB / 25.13 MB, free: 3.586 MB / 14.72 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.409/1.409, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2173/0.2173, allocations: 46.95 MB / 362.1 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 79.86 kB / 0.4978 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.328, allocations: 66.07 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.0033/0.3313, allocations: 1.828 MB / 0.5641 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3328, allocations: 0.85 MB / 0.565 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.3328, allocations: 0 / 0.565 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.3331, allocations: 43.75 kB / 0.565 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.3334, allocations: 79.62 kB / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3336, allocations: 75.67 kB / 0.5651 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3338, allocations: 135.4 kB / 0.5653 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.3338, allocations: 7.984 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.334, allocations: 71.75 kB / 0.5654 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.3341, allocations: 91.69 kB / 0.5654 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3342, allocations: 4 kB / 0.5654 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.3343, allocations: 47.92 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.3344, allocations: 31.89 kB / 0.5655 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.3344, allocations: 39.73 kB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3347, allocations: 142 kB / 0.5657 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3347, allocations: 7.938 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3347, allocations: 0 / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.3347, allocations: 0 / 0.5657 GB, free: 0.8008 MB / 398.1 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.0005962/0.3353, allocations: 337.9 kB / 0.566 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3354, allocations: 8.031 kB / 0.566 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.3357, allocations: 32.81 kB / 0.5661 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.3359, allocations: 126.5 kB / 0.5662 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3359, allocations: 12.36 kB / 0.5662 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.3359, allocations: 16.12 kB / 0.5662 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.3363, allocations: 180.9 kB / 0.5664 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3363, allocations: 0 / 0.5664 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.3364, allocations: 8 kB / 0.5664 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.3364, allocations: 7.984 kB / 0.5664 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.3367, allocations: 139.9 kB / 0.5665 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009108/0.3377, allocations: 0.6123 MB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.338, allocations: 98.67 kB / 0.5672 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3381, allocations: 40.77 kB / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3381, allocations: 0 / 0.5673 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3382, allocations: 42.56 kB / 0.5673 GB, free: 15.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3382, allocations: 0 / 0.5673 GB, free: 15.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004426/0.3386, allocations: 129.6 kB / 0.5674 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3386, allocations: 55.34 kB / 0.5675 GB, free: 14.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3388, allocations: 129.3 kB / 0.5676 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3388, allocations: 29.7 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.3389, allocations: 124 kB / 0.5678 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.3389, allocations: 31.78 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.339, allocations: 33.7 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3391, allocations: 314.8 kB / 0.5681 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3392, allocations: 43.91 kB / 0.5682 GB, free: 14.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.3394, allocations: 94.08 kB / 0.5682 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.3397, allocations: 155.6 kB / 0.5684 GB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3397, allocations: 0 / 0.5684 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003298/0.34, allocations: 161.4 kB / 0.5685 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.34, allocations: 8 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.34, allocations: 0 / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.34, allocations: 4 kB / 0.5686 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3402, allocations: 39.91 kB / 0.5686 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3402, allocations: 4 kB / 0.5686 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3403, allocations: 23.88 kB / 0.5686 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3403, allocations: 4.188 kB / 0.5686 GB, free: 13.54 MB / 414.1 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 0.0001041/0.3404, allocations: 133.8 kB / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.3405, allocations: 3.953 kB / 0.5688 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.3408, allocations: 125.9 kB / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3408, allocations: 3.984 kB / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3408, allocations: 0 / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3408, allocations: 3.984 kB / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.341, allocations: 176.6 kB / 0.5691 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.341, allocations: 4 kB / 0.5691 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.3411, allocations: 23.98 kB / 0.5691 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3411, allocations: 0 / 0.5691 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3412, allocations: 3.984 kB / 0.5691 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3412, allocations: 0 / 0.5691 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3412, allocations: 0 / 0.5691 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3415, allocations: 219.8 kB / 0.5693 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.3415, allocations: 7.953 kB / 0.5693 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3415, allocations: 3.984 kB / 0.5693 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.3416, allocations: 4 kB / 0.5693 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3416, allocations: 7.922 kB / 0.5693 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3416, allocations: 8 kB / 0.5693 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.471e-05/0.3417, allocations: 91.27 kB / 0.5694 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3417, allocations: 4 kB / 0.5694 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00026/0.342, allocations: 23.95 kB / 0.5694 GB, free: 12.62 MB / 414.1 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 0.0001277/0.3421, allocations: 99.25 kB / 0.5695 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3424, allocations: 108.3 kB / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3424, allocations: 0 / 0.5696 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.3425, allocations: 39.91 kB / 0.5697 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3428, allocations: 23.8 kB / 0.5697 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.3433, allocations: 239.6 kB / 0.5699 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3436, allocations: 0.7118 MB / 0.5706 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.3437, allocations: 28.45 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3438, allocations: 15.44 kB / 0.5707 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3438, allocations: 0 / 0.5707 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.003841/0.3476, allocations: 1.023 MB / 0.5717 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.924543461063877]