Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,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_trunk_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=10100,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009945/0.0009946, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 45.91 MB / 344 MB, free: 12.15 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 4 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002144/0.1615, allocations: 1.467 MB / 482.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1627, allocations: 0.733 MB / 483.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.1628, allocations: 4 kB / 483.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.163, allocations: 27.83 kB / 483.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.1632, allocations: 63.77 kB / 483.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.1633, allocations: 51.86 kB / 483.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1635, allocations: 79.86 kB / 483.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.1635, allocations: 8 kB / 483.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1637, allocations: 51.83 kB / 483.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1638, allocations: 55.75 kB / 483.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1638, allocations: 4 kB / 483.9 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.164, allocations: 75.88 kB / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.756e-05/0.1641, allocations: 27.91 kB / 484 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1641, allocations: 41.64 kB / 484.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1643, allocations: 92.08 kB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1643, allocations: 0 / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1643, allocations: 4 kB / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1643, allocations: 0 / 484.2 MB, free: 2.605 MB / 350.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.0005793/0.1649, allocations: 383.1 kB / 484.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.165, allocations: 12.03 kB / 484.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.1653, allocations: 35.78 kB / 484.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1655, allocations: 190.9 kB / 484.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1655, allocations: 15.92 kB / 484.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1656, allocations: 8 kB / 484.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1659, allocations: 172.1 kB / 485 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.166, allocations: 0 / 485 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.166, allocations: 8 kB / 485 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.166, allocations: 7.984 kB / 485 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.1664, allocations: 151.7 kB / 485.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.1673, allocations: 0.6484 MB / 485.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.1676, allocations: 122.6 kB / 485.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1677, allocations: 0 / 485.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1677, allocations: 30.56 kB / 485.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1677, allocations: 0 / 485.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004542/0.1682, allocations: 153.5 kB / 486.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1682, allocations: 55.41 kB / 486.1 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.1683, allocations: 133.7 kB / 486.3 MB, free: 296 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1684, allocations: 25.7 kB / 486.3 MB, free: 264 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.1684, allocations: 119.8 kB / 486.4 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1685, allocations: 27.64 kB / 486.4 MB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.1685, allocations: 4 kB / 486.5 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1686, allocations: 318.8 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.1688, allocations: 43.95 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.1689, allocations: 103.6 kB / 486.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1691, allocations: 60.06 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1691, allocations: 0 / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003329/0.1694, allocations: 165.3 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1695, allocations: 8 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1695, allocations: 3.938 kB / 487.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1695, allocations: 4 kB / 487.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.1697, allocations: 48.22 kB / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1697, allocations: 4 kB / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1698, allocations: 23.83 kB / 487.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1698, allocations: 4 kB / 487.2 MB, free: 15.29 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.17, allocations: 133.7 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.17, allocations: 4 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.1704, allocations: 141.9 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1704, allocations: 0 / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1704, allocations: 0 / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1704, allocations: 0 / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.1706, allocations: 201.5 kB / 487.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1706, allocations: 3.953 kB / 487.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1708, allocations: 35.97 kB / 487.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1708, allocations: 0 / 487.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1708, allocations: 7.938 kB / 487.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1708, allocations: 4 kB / 487.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1708, allocations: 0 / 487.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1711, allocations: 219.4 kB / 488 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.1712, allocations: 85 kB / 488 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1712, allocations: 0 / 488 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1713, allocations: 23.92 kB / 488.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.1714, allocations: 4 kB / 488.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1714, allocations: 0 / 488.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.1714, allocations: 91.27 kB / 488.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1714, allocations: 4 kB / 488.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1717, allocations: 23.91 kB / 488.2 MB, free: 14.23 MB / 366.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 (linear and non-linear blocks): 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.1719, allocations: 103.8 kB / 488.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.1722, allocations: 107.8 kB / 488.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1722, allocations: 0.5 kB / 488.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1723, allocations: 55.95 kB / 488.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.1725, allocations: 11.88 kB / 488.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.173, allocations: 302 kB / 488.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1733, allocations: 0.713 MB / 489.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.992e-05/0.1734, allocations: 28.53 kB / 489.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.1734, allocations: 11.44 kB / 489.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1734, allocations: 0 / 489.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.003365/0.1768, allocations: 0.8109 MB / 490.3 MB, free: 12.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches