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.001698/0.001698, allocations: 123.4 kB / 19.18 MB, free: 3.852 MB / 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.00188/0.00188, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.468/1.468, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2259/0.2259, allocations: 46.92 MB / 358.2 MB, free: 10.41 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.002589/0.002589, allocations: 83.86 kB / 0.4925 GB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1448, allocations: 66 MB / 0.557 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003934/0.1487, allocations: 1.817 MB / 0.5588 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1505, allocations: 0.8373 MB / 0.5596 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.1506, allocations: 4 kB / 0.5596 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1509, allocations: 43.75 kB / 0.5596 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.1512, allocations: 67.66 kB / 0.5597 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1515, allocations: 75.66 kB / 0.5598 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.1518, allocations: 135.5 kB / 0.5599 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.1518, allocations: 7.984 kB / 0.5599 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.1521, allocations: 79.69 kB / 0.56 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1523, allocations: 79.77 kB / 0.5601 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.1523, allocations: 4 kB / 0.5601 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1525, allocations: 71.89 kB / 0.5601 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.138e-05/0.1526, allocations: 43.78 kB / 0.5602 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.401e-05/0.1527, allocations: 31.8 kB / 0.5602 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.153, allocations: 147.4 kB / 0.5603 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.153, allocations: 3.984 kB / 0.5603 GB, free: 2.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.153, allocations: 0 / 0.5603 GB, free: 2.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.153, allocations: 0 / 0.5603 GB, free: 2.039 MB / 414.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.0007003/0.1537, allocations: 403 kB / 0.5607 GB, free: 1.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1538, allocations: 8.031 kB / 0.5607 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.1542, allocations: 44.8 kB / 0.5608 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1544, allocations: 184.2 kB / 0.561 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1545, allocations: 16.36 kB / 0.561 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1545, allocations: 12.12 kB / 0.561 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1549, allocations: 180.1 kB / 0.5612 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1549, allocations: 0 / 0.5612 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1549, allocations: 8 kB / 0.5612 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.155, allocations: 4 kB / 0.5612 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.1553, allocations: 135.8 kB / 0.5613 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.1563, allocations: 0.6484 MB / 0.5619 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.1567, allocations: 98.69 kB / 0.562 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1568, allocations: 36.98 kB / 0.5621 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1568, allocations: 7.922 kB / 0.5621 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1568, allocations: 42.44 kB / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1568, allocations: 0 / 0.5621 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005027/0.1573, allocations: 141.9 kB / 0.5622 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.1574, allocations: 51.41 kB / 0.5623 GB, free: 15.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.1575, allocations: 129.1 kB / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.1575, allocations: 25.7 kB / 0.5624 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.1576, allocations: 128 kB / 0.5626 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.1577, allocations: 23.8 kB / 0.5626 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.1577, allocations: 33.7 kB / 0.5626 GB, free: 15.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1579, allocations: 314.8 kB / 0.5629 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.158, allocations: 39.95 kB / 0.563 GB, free: 15.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.1582, allocations: 95.64 kB / 0.563 GB, free: 14.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1585, allocations: 159.4 kB / 0.5632 GB, free: 14.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1585, allocations: 0 / 0.5632 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003582/0.1589, allocations: 157.4 kB / 0.5633 GB, free: 14.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1589, allocations: 4 kB / 0.5634 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1589, allocations: 4 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1589, allocations: 4 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.1591, allocations: 39.95 kB / 0.5634 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1591, allocations: 7.938 kB / 0.5634 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1592, allocations: 19.88 kB / 0.5634 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1592, allocations: 12.22 kB / 0.5634 GB, free: 14.56 MB / 430.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.0001157/0.1593, allocations: 125.8 kB / 0.5636 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.1594, allocations: 7.953 kB / 0.5636 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.1597, allocations: 125.9 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1597, allocations: 0 / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1597, allocations: 0 / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1597, allocations: 4 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.16, allocations: 205.5 kB / 0.5639 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.16, allocations: 0 / 0.5639 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1601, allocations: 31.97 kB / 0.5639 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1601, allocations: 0 / 0.5639 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1601, allocations: 0 / 0.5639 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1601, allocations: 0 / 0.5639 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1601, allocations: 0 / 0.5639 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1605, allocations: 219.3 kB / 0.5641 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.1605, allocations: 85 kB / 0.5642 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1606, allocations: 4 kB / 0.5642 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.1607, allocations: 8 kB / 0.5642 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.1607, allocations: 7.984 kB / 0.5642 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1607, allocations: 7.938 kB / 0.5642 GB, free: 13.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.379e-05/0.1608, allocations: 91.27 kB / 0.5643 GB, free: 13.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1608, allocations: 4 kB / 0.5643 GB, free: 13.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1611, allocations: 27.95 kB / 0.5643 GB, free: 13.52 MB / 430.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.0001606/0.1612, allocations: 99.23 kB / 0.5644 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003296/0.1616, allocations: 104.3 kB / 0.5645 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1616, allocations: 0 / 0.5645 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1617, allocations: 39.95 kB / 0.5646 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.162, allocations: 13.34 kB / 0.5646 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.1625, allocations: 276.3 kB / 0.5649 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1629, allocations: 0.708 MB / 0.5655 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1629, allocations: 15.44 kB / 0.5656 GB, free: 12.21 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1629, allocations: 0 / 0.5656 GB, free: 12.21 MB / 430.1 MB Notification: Performance of Templates: time 0.003566/0.1665, allocations: 1.329 MB / 0.5669 GB, free: 10.89 MB / 430.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 -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: 7.377765183991869]