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.002005/0.002005, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001556/0.001556, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.529/1.529, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] 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.2295/0.2295, allocations: 46.89 MB / 361.3 MB, free: 4.445 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.002267/0.002267, allocations: 75.88 kB / 0.4971 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4198, allocations: 66.03 MB / 0.5616 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003522/0.4233, allocations: 1.831 MB / 0.5633 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.425, allocations: 0.8462 MB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.4251, allocations: 11.88 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.4253, allocations: 35.81 kB / 0.5642 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.4257, allocations: 87.56 kB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.4259, allocations: 71.73 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.4261, allocations: 127.5 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.4261, allocations: 11.92 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.4263, allocations: 79.73 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.4265, allocations: 87.7 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4265, allocations: 4 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.4267, allocations: 71.89 kB / 0.5647 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.4268, allocations: 31.89 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.4269, allocations: 47.67 kB / 0.5648 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.4272, allocations: 137.9 kB / 0.5649 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4272, allocations: 4 kB / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4272, allocations: 0 / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4272, allocations: 0 / 0.5649 GB, free: 1.137 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.0006446/0.4278, allocations: 337.9 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4279, allocations: 8.031 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.4282, allocations: 36.81 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.4284, allocations: 130.4 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4284, allocations: 8.375 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4285, allocations: 12.12 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.4289, allocations: 173.4 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4289, allocations: 3.938 kB / 0.5656 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.4289, allocations: 15.98 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.429, allocations: 7.984 kB / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.4293, allocations: 131.9 kB / 0.5658 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.4303, allocations: 0.6085 MB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.4307, allocations: 106.6 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.4308, allocations: 40.83 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4308, allocations: 0 / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4308, allocations: 34.56 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.4308, allocations: 0 / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004702/0.4313, allocations: 141.6 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4314, allocations: 55.39 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.4315, allocations: 126.1 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4315, allocations: 33.64 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.4316, allocations: 128 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.4316, allocations: 27.78 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.4317, allocations: 25.72 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4318, allocations: 318.8 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.4319, allocations: 35.97 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.4321, allocations: 95.69 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.4324, allocations: 143.5 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4324, allocations: 4 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000354/0.4328, allocations: 161.4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4328, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4328, allocations: 4 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4328, allocations: 0 / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.433, allocations: 44.16 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.433, allocations: 8 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.4331, allocations: 19.89 kB / 0.5679 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.4331, allocations: 7.984 kB / 0.5679 GB, free: 13.88 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.0001079/0.4332, allocations: 129.7 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4333, allocations: 11.94 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.4336, allocations: 122 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4336, allocations: 8 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4336, allocations: 3.938 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4336, allocations: 0 / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.4338, allocations: 172.6 kB / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4338, allocations: 0 / 0.5683 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.434, allocations: 27.98 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.434, allocations: 4 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.434, allocations: 0 / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.434, allocations: 0 / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.434, allocations: 7.984 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.4343, allocations: 211.8 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.4344, allocations: 11.94 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.4344, allocations: 0 / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.4345, allocations: 7.984 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.4345, allocations: 11.92 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.4345, allocations: 8 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.4346, allocations: 102.1 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4346, allocations: 0 / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4348, allocations: 27.89 kB / 0.5687 GB, free: 12.95 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.0001579/0.435, allocations: 99.25 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.4353, allocations: 99.92 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4353, allocations: 3.938 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4355, allocations: 35.97 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4357, allocations: 7.938 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.4362, allocations: 256 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4366, allocations: 0.708 MB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.628e-05/0.4366, allocations: 28.45 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.4367, allocations: 15.44 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4367, allocations: 0 / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Templates: time 0.00415/0.4408, allocations: 1.007 MB / 0.5709 GB, free: 10.68 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/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","/var/lib/jenkins/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: 5.570985611528158]