Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.001625/0.001625, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001776/0.001776, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.401/1.401, 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.2245/0.2245, allocations: 46.88 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 179] 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.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [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.003663/0.003663, allocations: 75.88 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3783, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003933/0.3822, allocations: 2.144 MB / 0.5633 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.3845, allocations: 1.312 MB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3846, allocations: 0 / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.385, allocations: 67.58 kB / 0.5647 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.3852, allocations: 95.38 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.3858, allocations: 207.3 kB / 0.565 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.3864, allocations: 441.9 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.227e-05/0.3864, allocations: 12.75 kB / 0.5654 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.3867, allocations: 167.1 kB / 0.5655 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.387, allocations: 179.1 kB / 0.5657 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.387, allocations: 16 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.3875, allocations: 279.5 kB / 0.566 GB, free: 124 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3876, allocations: 87.55 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.3878, allocations: 166.9 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.3885, allocations: 0.5238 MB / 0.5668 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3885, allocations: 0 / 0.5668 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3885, allocations: 0 / 0.5668 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3885, allocations: 0 / 0.5668 GB, free: 15.35 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001368/0.3899, allocations: 0.7168 MB / 0.5675 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3899, allocations: 12.03 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.3904, allocations: 80.61 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.3908, allocations: 288.6 kB / 0.5678 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.3908, allocations: 29.38 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.3909, allocations: 40.31 kB / 0.5679 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.3919, allocations: 0.5781 MB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3919, allocations: 4 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.3919, allocations: 16 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.392, allocations: 24.98 kB / 0.5685 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008703/0.3928, allocations: 431.5 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.3948, allocations: 1.391 MB / 0.5703 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.3953, allocations: 259.6 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.3957, allocations: 134.5 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.3957, allocations: 11.98 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3957, allocations: 34.56 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.3957, allocations: 3.938 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001204/0.3969, allocations: 464 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.397, allocations: 106.8 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.3976, allocations: 0.4979 MB / 0.5717 GB, free: 10.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3976, allocations: 25.7 kB / 0.5717 GB, free: 9.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3978, allocations: 216.3 kB / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.3979, allocations: 55.53 kB / 0.572 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.398, allocations: 57.77 kB / 0.5721 GB, free: 9.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3981, allocations: 350.8 kB / 0.5724 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.3985, allocations: 123.9 kB / 0.5725 GB, free: 9.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3988, allocations: 176.4 kB / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.3995, allocations: 308.7 kB / 0.573 GB, free: 8.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3995, allocations: 0 / 0.573 GB, free: 8.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008288/0.4003, allocations: 380.8 kB / 0.5733 GB, free: 8.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4003, allocations: 11.92 kB / 0.5733 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.036e-05/0.4004, allocations: 32 kB / 0.5734 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4004, allocations: 0 / 0.5734 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.4006, allocations: 35.95 kB / 0.5734 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4006, allocations: 0 / 0.5734 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.4009, allocations: 59.55 kB / 0.5735 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.4009, allocations: 12 kB / 0.5735 GB, free: 8.141 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002087/0.4011, allocations: 189.7 kB / 0.5737 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4012, allocations: 47.66 kB / 0.5737 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.402, allocations: 380.6 kB / 0.5741 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.402, allocations: 4 kB / 0.5741 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.402, allocations: 0 / 0.5741 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.402, allocations: 3.984 kB / 0.5741 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.4026, allocations: 357.4 kB / 0.5744 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/0.4026, allocations: 32 kB / 0.5744 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.4028, allocations: 27.91 kB / 0.5745 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.4028, allocations: 11.92 kB / 0.5745 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4028, allocations: 4 kB / 0.5745 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4028, allocations: 4 kB / 0.5745 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4028, allocations: 0 / 0.5745 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/0.4036, allocations: 0.5718 MB / 0.575 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.4038, allocations: 132.7 kB / 0.5752 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.4038, allocations: 7.875 kB / 0.5752 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.4041, allocations: 27.97 kB / 0.5752 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.4042, allocations: 19.98 kB / 0.5752 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.4042, allocations: 8 kB / 0.5752 GB, free: 6.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004109/0.4046, allocations: 379 kB / 0.5756 GB, free: 5.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4046, allocations: 0 / 0.5756 GB, free: 5.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005043/0.4051, allocations: 119.7 kB / 0.5757 GB, free: 5.746 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003057/0.4055, allocations: 159 kB / 0.5759 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009077/0.4064, allocations: 0.5148 MB / 0.5764 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4064, allocations: 4 kB / 0.5764 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.4069, allocations: 379.7 kB / 0.5767 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.4075, allocations: 101.5 kB / 0.5768 GB, free: 4.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.409, allocations: 0.817 MB / 0.5776 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.4095, allocations: 0.8535 MB / 0.5785 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.4096, allocations: 67.23 kB / 0.5785 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.4097, allocations: 23.44 kB / 0.5785 GB, free: 2.664 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4097, allocations: 0 / 0.5785 GB, free: 2.664 MB / 414.1 MB Notification: Performance of Templates: time 0.01305/0.4228, allocations: 7.416 MB / 0.5858 GB, free: 11.34 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.446463834028691]