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.001769/0.001769, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002146/0.002146, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.498/1.498, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2396/0.2396, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.003475/0.003475, allocations: 75.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3762, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003425/0.3797, allocations: 1.824 MB / 0.563 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3811, allocations: 0.8461 MB / 0.5638 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.3812, allocations: 4 kB / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.3814, allocations: 39.75 kB / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.3817, allocations: 79.62 kB / 0.564 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.3819, allocations: 67.69 kB / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.382, allocations: 135.5 kB / 0.5641 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.3821, allocations: 7.984 kB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.3823, allocations: 71.69 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.3825, allocations: 95.69 kB / 0.5643 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3825, allocations: 4 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3826, allocations: 71.89 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.3827, allocations: 27.84 kB / 0.5644 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.3828, allocations: 39.8 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.383, allocations: 150.1 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.383, allocations: 0 / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.383, allocations: 4 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.383, allocations: 0 / 0.5646 GB, free: 1.551 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.0006257/0.3837, allocations: 407 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3837, allocations: 8.031 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.384, allocations: 40.81 kB / 0.565 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.3842, allocations: 180.3 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3843, allocations: 8.375 kB / 0.5652 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3843, allocations: 16.06 kB / 0.5652 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.3847, allocations: 180.1 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3847, allocations: 0 / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3847, allocations: 0 / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.3847, allocations: 15.98 kB / 0.5654 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.3851, allocations: 131.8 kB / 0.5655 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.386, allocations: 0.6522 MB / 0.5662 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.3863, allocations: 106.6 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3865, allocations: 44.83 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3865, allocations: 0 / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3865, allocations: 30.56 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.3865, allocations: 0 / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004405/0.3869, allocations: 133.6 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.387, allocations: 63.34 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3871, allocations: 122.1 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3871, allocations: 29.7 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.3872, allocations: 124 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3872, allocations: 31.92 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.3873, allocations: 25.72 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3874, allocations: 326.8 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3876, allocations: 39.97 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.3877, allocations: 98.78 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.388, allocations: 143.5 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.388, allocations: 4 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003421/0.3884, allocations: 161.4 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3884, allocations: 4 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3884, allocations: 4 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3884, allocations: 4 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3886, allocations: 48.16 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3886, allocations: 4 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.3887, allocations: 15.89 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3887, allocations: 8 kB / 0.5677 GB, free: 14.08 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.0001116/0.3888, allocations: 129.7 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.3888, allocations: 7.953 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.3892, allocations: 130 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3892, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3892, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3892, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.3894, allocations: 201.5 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3894, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3896, allocations: 27.98 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3896, allocations: 4 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3896, allocations: 7.938 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3896, allocations: 0 / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3896, allocations: 3.938 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.3899, allocations: 207.8 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.39, allocations: 85.06 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.39, allocations: 0 / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3901, allocations: 15.98 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.3901, allocations: 7.984 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3901, allocations: 0 / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.657e-05/0.3902, allocations: 98.64 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3902, allocations: 0 / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3905, allocations: 27.95 kB / 0.5686 GB, free: 13.05 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.0001505/0.3906, allocations: 107.2 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3909, allocations: 99.86 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3909, allocations: 0 / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3911, allocations: 43.91 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3913, allocations: 14.62 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/0.3918, allocations: 250.7 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3922, allocations: 0.7118 MB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.054e-05/0.3923, allocations: 32.52 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.3923, allocations: 11.44 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3923, allocations: 0 / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004045/0.3964, allocations: 0.9799 MB / 0.5708 GB, free: 10.79 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 cvode -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_2/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_2/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: 5.398966263048351]