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.001371/0.001371, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 202 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.551/1.551, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 87.84 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4258, allocations: 62.42 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.003495/0.4294, allocations: 2.12 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.4314, allocations: 1.298 MB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.4316, allocations: 1.375 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.4319, allocations: 68.09 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.4322, allocations: 98.61 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.4329, allocations: 208 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.4334, allocations: 446.3 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.4336, allocations: 44.59 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.4338, allocations: 159 kB / 0.5353 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.4341, allocations: 185.2 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.4342, allocations: 12.97 kB / 0.5355 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.4347, allocations: 273.4 kB / 0.5358 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.4348, allocations: 90.27 kB / 0.5359 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.435, allocations: 167.1 kB / 0.536 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.4357, allocations: 0.5178 MB / 0.5365 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4357, allocations: 5.281 kB / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4357, allocations: 0 / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4357, allocations: 0 / 0.5365 GB, free: 9.539 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.001315/0.4371, allocations: 0.7037 MB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4371, allocations: 9.688 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004851/0.4376, allocations: 82.11 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.438, allocations: 294.2 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.4381, allocations: 28.59 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.4381, allocations: 33.12 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.4393, allocations: 0.5755 MB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4393, allocations: 7.875 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.4394, allocations: 15.94 kB / 0.5382 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.4394, allocations: 22.88 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.4404, allocations: 425.3 kB / 0.5387 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.443, allocations: 1.37 MB / 0.54 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.4437, allocations: 276.2 kB / 0.5403 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.4441, allocations: 136.5 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/0.4442, allocations: 4.625 kB / 0.5404 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.4442, allocations: 43.58 kB / 0.5404 GB, free: 6.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.4442, allocations: 5.375 kB / 0.5404 GB, free: 6.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001505/0.4457, allocations: 456 kB / 0.5409 GB, free: 6.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4459, allocations: 112.7 kB / 0.541 GB, free: 6.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.4469, allocations: 0.5039 MB / 0.5415 GB, free: 6.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.4469, allocations: 25.7 kB / 0.5415 GB, free: 6.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.4471, allocations: 201.8 kB / 0.5417 GB, free: 5.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.4472, allocations: 57.94 kB / 0.5418 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4474, allocations: 50.95 kB / 0.5418 GB, free: 5.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4475, allocations: 350.5 kB / 0.5421 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.4479, allocations: 129.7 kB / 0.5423 GB, free: 5.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.4483, allocations: 179.1 kB / 0.5424 GB, free: 5.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/0.449, allocations: 304.5 kB / 0.5427 GB, free: 5.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.449, allocations: 4 kB / 0.5427 GB, free: 5.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008448/0.4499, allocations: 372.4 kB / 0.5431 GB, free: 4.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4499, allocations: 8.938 kB / 0.5431 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.387e-05/0.45, allocations: 34.33 kB / 0.5431 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.45, allocations: 6.406 kB / 0.5431 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.4502, allocations: 32.03 kB / 0.5432 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4502, allocations: 3.938 kB / 0.5432 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.4505, allocations: 63.34 kB / 0.5432 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.4506, allocations: 12 kB / 0.5432 GB, free: 4.887 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.0002575/0.4508, allocations: 177.8 kB / 0.5434 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.451, allocations: 47.47 kB / 0.5434 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.4518, allocations: 388.8 kB / 0.5438 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.4518, allocations: 4 kB / 0.5438 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4519, allocations: 4 kB / 0.5438 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.4519, allocations: 0 / 0.5438 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.4525, allocations: 365.3 kB / 0.5442 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.696e-05/0.4526, allocations: 31.98 kB / 0.5442 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.4527, allocations: 23.97 kB / 0.5442 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.4527, allocations: 7.938 kB / 0.5442 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4528, allocations: 12 kB / 0.5442 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.4528, allocations: 7.984 kB / 0.5443 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4528, allocations: 0 / 0.5443 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.4537, allocations: 0.5702 MB / 0.5448 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.4538, allocations: 124.5 kB / 0.5449 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.4539, allocations: 11.88 kB / 0.5449 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.4542, allocations: 15.98 kB / 0.545 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.4543, allocations: 23.97 kB / 0.545 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.4543, allocations: 8 kB / 0.545 GB, free: 2.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004013/0.4547, allocations: 379 kB / 0.5453 GB, free: 2.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4547, allocations: 4 kB / 0.5454 GB, free: 2.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.4553, allocations: 115.9 kB / 0.5455 GB, free: 2.504 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.0003605/0.4556, allocations: 155.1 kB / 0.5456 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009244/0.4566, allocations: 0.5186 MB / 0.5461 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4566, allocations: 0 / 0.5461 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.4571, allocations: 391.4 kB / 0.5465 GB, free: 1.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.4578, allocations: 107.5 kB / 0.5466 GB, free: 1.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.4594, allocations: 0.8136 MB / 0.5474 GB, free: 396 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.46, allocations: 0.8535 MB / 0.5482 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.4602, allocations: 59.25 kB / 0.5483 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.4603, allocations: 27.44 kB / 0.5483 GB, free: 15.42 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4603, allocations: 0 / 0.5483 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Templates: time 0.01268/0.473, allocations: 7.334 MB / 0.5555 GB, free: 8.18 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