Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001679/0.001679, allocations: 83.03 kB / 20.52 MB, free: 1.277 MB / 14.72 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.002276/0.002276, allocations: 167.1 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 158.6 MB / 185.5 MB, free: 6.203 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 67.89 kB / 407.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1493, allocations: 61.04 MB / 468.8 MB, free: 8.262 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003602/0.1529, allocations: 1.779 MB / 470.6 MB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1544, allocations: 0.7758 MB / 471.4 MB, free: 5.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.1545, allocations: 4 kB / 471.4 MB, free: 5.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1547, allocations: 39.77 kB / 471.4 MB, free: 5.641 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.155, allocations: 75.62 kB / 471.5 MB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1552, allocations: 71.67 kB / 471.6 MB, free: 5.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.1554, allocations: 135.5 kB / 471.7 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.356e-05/0.1555, allocations: 7.984 kB / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1557, allocations: 67.7 kB / 471.8 MB, free: 5.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1559, allocations: 91.69 kB / 471.9 MB, free: 5.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1559, allocations: 8 kB / 471.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.156, allocations: 47.91 kB / 471.9 MB, free: 5.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.1561, allocations: 27.91 kB / 472 MB, free: 5.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.1562, allocations: 31.86 kB / 472 MB, free: 5.086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1564, allocations: 143.3 kB / 472.1 MB, free: 4.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1565, allocations: 0 / 472.1 MB, free: 4.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1565, allocations: 0 / 472.1 MB, free: 4.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1565, allocations: 0 / 472.1 MB, free: 4.945 MB / 446.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.0006184/0.1571, allocations: 325.9 kB / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1571, allocations: 12.03 kB / 472.5 MB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.1575, allocations: 36.86 kB / 472.5 MB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1577, allocations: 142.3 kB / 472.6 MB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1577, allocations: 8.359 kB / 472.6 MB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1577, allocations: 16.12 kB / 472.7 MB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.1581, allocations: 179.9 kB / 472.8 MB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1581, allocations: 0 / 472.8 MB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1582, allocations: 11.94 kB / 472.8 MB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.1582, allocations: 11.98 kB / 472.9 MB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.1585, allocations: 127.9 kB / 473 MB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008742/0.1594, allocations: 0.5161 MB / 473.5 MB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.1598, allocations: 110.6 kB / 473.6 MB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1599, allocations: 40.83 kB / 473.6 MB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.16, allocations: 0 / 473.6 MB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.16, allocations: 30.56 kB / 473.7 MB, free: 3.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.16, allocations: 0 / 473.7 MB, free: 3.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004656/0.1605, allocations: 149.5 kB / 473.8 MB, free: 3.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1605, allocations: 51.41 kB / 473.9 MB, free: 3.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1606, allocations: 130 kB / 474 MB, free: 2.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1607, allocations: 29.7 kB / 474 MB, free: 2.883 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.1608, allocations: 124.1 kB / 474.1 MB, free: 2.758 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.1608, allocations: 23.75 kB / 474.2 MB, free: 2.734 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.1608, allocations: 37.64 kB / 474.2 MB, free: 2.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.161, allocations: 314.8 kB / 474.5 MB, free: 2.375 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1611, allocations: 43.95 kB / 474.6 MB, free: 2.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1613, allocations: 91.8 kB / 474.6 MB, free: 2.215 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.1616, allocations: 151.5 kB / 474.8 MB, free: 2.039 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1616, allocations: 0 / 474.8 MB, free: 2.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003462/0.1619, allocations: 161.3 kB / 474.9 MB, free: 1.875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1619, allocations: 4 kB / 475 MB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1619, allocations: 4 kB / 475 MB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.162, allocations: 4 kB / 475 MB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1622, allocations: 39.91 kB / 475 MB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1622, allocations: 7.938 kB / 475 MB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1623, allocations: 24.19 kB / 475 MB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1623, allocations: 4 kB / 475 MB, free: 1.789 MB / 446.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.0001224/0.1624, allocations: 137.6 kB / 475.2 MB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1625, allocations: 3.953 kB / 475.2 MB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/0.1628, allocations: 118.1 kB / 475.3 MB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1628, allocations: 3.984 kB / 475.3 MB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1628, allocations: 0 / 475.3 MB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1628, allocations: 7.922 kB / 475.3 MB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.163, allocations: 141.3 kB / 475.4 MB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.163, allocations: 3.938 kB / 475.4 MB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1632, allocations: 27.98 kB / 475.5 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1632, allocations: 0 / 475.5 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1632, allocations: 0 / 475.5 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1632, allocations: 0 / 475.5 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1632, allocations: 0 / 475.5 MB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.1635, allocations: 211.4 kB / 475.7 MB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.1635, allocations: 15.89 kB / 475.7 MB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1636, allocations: 4 kB / 475.7 MB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1637, allocations: 11.98 kB / 475.7 MB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1637, allocations: 11.92 kB / 475.7 MB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1637, allocations: 4 kB / 475.7 MB, free: 1.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.1638, allocations: 95.27 kB / 475.8 MB, free: 0.9453 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1638, allocations: 0 / 475.8 MB, free: 0.9453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1641, allocations: 19.94 kB / 475.8 MB, free: 0.9258 MB / 446.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.0001526/0.1642, allocations: 103.2 kB / 475.9 MB, free: 0.8164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.1645, allocations: 99.84 kB / 476 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1645, allocations: 0 / 476 MB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1647, allocations: 45.05 kB / 476.1 MB, free: 0.6758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1649, allocations: 11.94 kB / 476.1 MB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.1655, allocations: 263.3 kB / 476.3 MB, free: 384 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.1656, allocations: 93.44 kB / 476.4 MB, free: 272 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.702e-05/0.1657, allocations: 32.61 kB / 476.5 MB, free: 240 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.1658, allocations: 12.5 kB / 476.5 MB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1658, allocations: 0 / 476.5 MB, free: 224 kB / 446.1 MB Notification: Performance of Templates: time 0.3008/0.4666, allocations: 0.8974 MB / 477.4 MB, free: 50.18 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.411022828076966]