Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 72.11 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4091, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.004059/0.4132, allocations: 2.128 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.4153, allocations: 1.284 MB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4154, allocations: 9.031 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.4157, allocations: 71.67 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.416, allocations: 87.94 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.4166, allocations: 210.8 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.4171, allocations: 439.6 kB / 0.5351 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.4172, allocations: 48.2 kB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.4175, allocations: 162.4 kB / 0.5353 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.4178, allocations: 182 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.4179, allocations: 13.25 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.4184, allocations: 272.9 kB / 0.5358 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.4185, allocations: 90.27 kB / 0.5359 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.4187, allocations: 163.5 kB / 0.536 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.4194, allocations: 0.5173 MB / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4194, allocations: 1.406 kB / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4194, allocations: 0 / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4194, allocations: 4 kB / 0.5365 GB, free: 9.547 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001331/0.4208, allocations: 0.7039 MB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4208, allocations: 9.531 kB / 0.5372 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004172/0.4212, allocations: 73.39 kB / 0.5373 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000476/0.4217, allocations: 299.9 kB / 0.5376 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.4218, allocations: 28.88 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.4218, allocations: 37.53 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.4228, allocations: 0.5742 MB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.4229, allocations: 4.969 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.4229, allocations: 19.28 kB / 0.5382 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.423, allocations: 22.52 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.4239, allocations: 425.5 kB / 0.5387 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.4259, allocations: 1.375 MB / 0.54 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.4264, allocations: 271 kB / 0.5403 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.4268, allocations: 132.2 kB / 0.5404 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.4269, allocations: 16.5 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.4269, allocations: 36.78 kB / 0.5404 GB, free: 6.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.4269, allocations: 4 kB / 0.5404 GB, free: 6.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00123/0.4281, allocations: 454.5 kB / 0.5409 GB, free: 6.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.4282, allocations: 105.6 kB / 0.541 GB, free: 6.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/0.4288, allocations: 0.5071 MB / 0.5415 GB, free: 6.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.4288, allocations: 25.7 kB / 0.5415 GB, free: 6.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.429, allocations: 206.3 kB / 0.5417 GB, free: 5.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.4291, allocations: 54.36 kB / 0.5417 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.4292, allocations: 53.11 kB / 0.5418 GB, free: 5.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4293, allocations: 351.6 kB / 0.5421 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.4297, allocations: 129 kB / 0.5422 GB, free: 5.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.4301, allocations: 178.3 kB / 0.5424 GB, free: 5.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.4308, allocations: 304.8 kB / 0.5427 GB, free: 5.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4309, allocations: 1.719 kB / 0.5427 GB, free: 5.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000852/0.4317, allocations: 379.4 kB / 0.5431 GB, free: 5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.4317, allocations: 9.5 kB / 0.5431 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.023e-05/0.4318, allocations: 26.28 kB / 0.5431 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4318, allocations: 2 kB / 0.5431 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.4321, allocations: 37.8 kB / 0.5431 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4321, allocations: 10.06 kB / 0.5432 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.4324, allocations: 60.16 kB / 0.5432 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4324, allocations: 16.98 kB / 0.5432 GB, free: 4.918 MB / 398.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.0001916/0.4326, allocations: 181.8 kB / 0.5434 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4327, allocations: 39.47 kB / 0.5434 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.4335, allocations: 388.6 kB / 0.5438 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4335, allocations: 0 / 0.5438 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4335, allocations: 8 kB / 0.5438 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4335, allocations: 3.984 kB / 0.5438 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.434, allocations: 365.3 kB / 0.5442 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.479e-05/0.4341, allocations: 27.98 kB / 0.5442 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.4342, allocations: 27.97 kB / 0.5442 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4342, allocations: 3.938 kB / 0.5442 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.4343, allocations: 8 kB / 0.5442 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4343, allocations: 0 / 0.5442 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4343, allocations: 4 kB / 0.5442 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.4351, allocations: 0.5715 MB / 0.5448 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4352, allocations: 128.5 kB / 0.5449 GB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.4353, allocations: 8 kB / 0.5449 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.4356, allocations: 15.97 kB / 0.5449 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.4357, allocations: 19.98 kB / 0.545 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.4357, allocations: 12 kB / 0.545 GB, free: 3.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004673/0.4362, allocations: 375 kB / 0.5453 GB, free: 2.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4362, allocations: 0 / 0.5453 GB, free: 2.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006355/0.4368, allocations: 115.9 kB / 0.5454 GB, free: 2.551 MB / 398.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.0002836/0.4371, allocations: 167 kB / 0.5456 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008573/0.438, allocations: 0.5228 MB / 0.5461 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.438, allocations: 0 / 0.5461 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.4385, allocations: 387.7 kB / 0.5465 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.4392, allocations: 104.8 kB / 0.5466 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4406, allocations: 0.8057 MB / 0.5474 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.4411, allocations: 0.8495 MB / 0.5482 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.4413, allocations: 59.25 kB / 0.5483 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.4413, allocations: 31.44 kB / 0.5483 GB, free: 15.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4413, allocations: 0 / 0.5483 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Templates: time 0.01268/0.454, allocations: 7.506 MB / 0.5556 GB, free: 8.055 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches