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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001329/0.001329, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.32/1.32, allocations: 230.5 MB / 258.1 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.92 MB / 361.5 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] 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=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_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=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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 75.88 kB / 0.4975 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2678, allocations: 66.08 MB / 0.562 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002951/0.2708, allocations: 1.828 MB / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.272, allocations: 0.8501 MB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.2721, allocations: 0 / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.2723, allocations: 39.75 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.2725, allocations: 79.62 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2727, allocations: 75.67 kB / 0.5648 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2729, allocations: 135.4 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2729, allocations: 11.97 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2731, allocations: 67.77 kB / 0.565 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2732, allocations: 91.69 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2732, allocations: 4 kB / 0.5651 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.2734, allocations: 67.89 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.2735, allocations: 35.84 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.2735, allocations: 43.72 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2737, allocations: 153.7 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2737, allocations: 0 / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2737, allocations: 0 / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2738, allocations: 0 / 0.5654 GB, free: 0.75 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.0005282/0.2743, allocations: 336.6 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2743, allocations: 12.03 kB / 0.5657 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.2746, allocations: 32.81 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.2748, allocations: 134.4 kB / 0.5659 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2748, allocations: 12.38 kB / 0.5659 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2748, allocations: 12.12 kB / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.2752, allocations: 173.5 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2752, allocations: 0 / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.2752, allocations: 3.984 kB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.2752, allocations: 11.98 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.2755, allocations: 139.8 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.2764, allocations: 0.6124 MB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.2767, allocations: 102.6 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2768, allocations: 36.83 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2768, allocations: 0 / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.2768, allocations: 42.56 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.2768, allocations: 0 / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003929/0.2772, allocations: 133.5 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2772, allocations: 55.41 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2773, allocations: 130 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2774, allocations: 25.7 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.2774, allocations: 136.1 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.2775, allocations: 23.8 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.2775, allocations: 33.7 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2776, allocations: 314.8 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2778, allocations: 39.95 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.2779, allocations: 87.7 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2782, allocations: 151.5 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2782, allocations: 0 / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003061/0.2785, allocations: 157.4 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2785, allocations: 10.19 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2785, allocations: 0 / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2785, allocations: 4 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.2787, allocations: 43.91 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2787, allocations: 4.391 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.2788, allocations: 23.81 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2788, allocations: 8.219 kB / 0.5683 GB, free: 13.49 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.0001028/0.2789, allocations: 141.6 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2789, allocations: 7.953 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.2792, allocations: 129.9 kB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2792, allocations: 0 / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2792, allocations: 0 / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2792, allocations: 4 kB / 0.5686 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.2794, allocations: 172.6 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2794, allocations: 0 / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.2796, allocations: 27.97 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2796, allocations: 3.938 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.2796, allocations: 4 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2796, allocations: 0 / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2796, allocations: 4 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.2799, allocations: 211.4 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.2799, allocations: 11.94 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2799, allocations: 0 / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.28, allocations: 4 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.28, allocations: 7.984 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.28, allocations: 7.938 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.2801, allocations: 94.14 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2801, allocations: 4 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.2803, allocations: 27.95 kB / 0.5691 GB, free: 12.56 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.0001143/0.2805, allocations: 103.2 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.2807, allocations: 92.38 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2807, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.2809, allocations: 47.89 kB / 0.5693 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.2811, allocations: 11.94 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.2816, allocations: 265.3 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.2819, allocations: 0.7196 MB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.2819, allocations: 19.42 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2819, allocations: 0 / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.002773/0.2847, allocations: 1.311 MB / 0.5716 GB, free: 9.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 6.678162876050919]