Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,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_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,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_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 193.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.5 MB / 244.1 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007609/0.0007609, allocations: 98.59 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.334/0.334, allocations: 44.82 MB / 392.9 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 11.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2877, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3956, allocations: 94.99 MB / 0.6093 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.3959, allocations: 99.92 kB / 0.6094 GB, free: 10.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02818/0.4241, allocations: 11.07 MB / 0.6202 GB, free: 15.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4241, allocations: 0 / 0.6202 GB, free: 15.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.4242, allocations: 8 kB / 0.6202 GB, free: 15.04 MB / 442.7 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.0008982/0.4251, allocations: 0.6434 MB / 0.6208 GB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4251, allocations: 8.031 kB / 0.6208 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003473/0.4255, allocations: 80.42 kB / 0.6209 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.4258, allocations: 298.8 kB / 0.6212 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.4258, allocations: 33.36 kB / 0.6212 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.4259, allocations: 36.38 kB / 0.6212 GB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.4268, allocations: 0.5783 MB / 0.6218 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.4268, allocations: 8.125 kB / 0.6218 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.4269, allocations: 15.94 kB / 0.6218 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/0.4269, allocations: 24.98 kB / 0.6218 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008177/0.4278, allocations: 451.5 kB / 0.6223 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.4295, allocations: 1.383 MB / 0.6236 GB, free: 11.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.43, allocations: 279.6 kB / 0.6239 GB, free: 11.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.4304, allocations: 154.5 kB / 0.624 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.4304, allocations: 15.91 kB / 0.6241 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4305, allocations: 42.5 kB / 0.6241 GB, free: 10.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.455e-06/0.4305, allocations: 0 / 0.6241 GB, free: 10.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.00117/0.4316, allocations: 486.7 kB / 0.6246 GB, free: 10.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.4317, allocations: 114.9 kB / 0.6247 GB, free: 10.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.4322, allocations: 0.4939 MB / 0.6252 GB, free: 9.684 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4323, allocations: 29.7 kB / 0.6252 GB, free: 9.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4324, allocations: 208.2 kB / 0.6254 GB, free: 9.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.4325, allocations: 51.27 kB / 0.6254 GB, free: 9.391 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.4325, allocations: 4 kB / 0.6254 GB, free: 9.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4327, allocations: 354.8 kB / 0.6258 GB, free: 9.031 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.433, allocations: 135.9 kB / 0.6259 GB, free: 8.898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.4333, allocations: 188 kB / 0.6261 GB, free: 8.699 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.434, allocations: 335.2 kB / 0.6264 GB, free: 8.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.434, allocations: 4 kB / 0.6264 GB, free: 8.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008047/0.4348, allocations: 397 kB / 0.6268 GB, free: 7.957 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4349, allocations: 8 kB / 0.6268 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.555e-05/0.4349, allocations: 27.98 kB / 0.6268 GB, free: 7.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4349, allocations: 7.938 kB / 0.6268 GB, free: 7.914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.4352, allocations: 39.97 kB / 0.6269 GB, free: 7.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4352, allocations: 3.938 kB / 0.6269 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.4354, allocations: 75.38 kB / 0.6269 GB, free: 7.797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.4355, allocations: 12 kB / 0.6269 GB, free: 7.785 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.4357, allocations: 181.8 kB / 0.6271 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.4358, allocations: 39.52 kB / 0.6272 GB, free: 7.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007629/0.4366, allocations: 400.4 kB / 0.6275 GB, free: 7.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4366, allocations: 4 kB / 0.6275 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.4366, allocations: 7.938 kB / 0.6276 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4366, allocations: 0 / 0.6276 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.4371, allocations: 357.4 kB / 0.6279 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-05/0.4372, allocations: 28 kB / 0.6279 GB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.4374, allocations: 31.97 kB / 0.6279 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4374, allocations: 4 kB / 0.628 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.4374, allocations: 19.86 kB / 0.628 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4374, allocations: 0 / 0.628 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4374, allocations: 7.984 kB / 0.628 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.4383, allocations: 0.5989 MB / 0.6286 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4384, allocations: 128.5 kB / 0.6287 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.4384, allocations: 4 kB / 0.6287 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.4387, allocations: 19.98 kB / 0.6287 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.4388, allocations: 27.97 kB / 0.6287 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.4389, allocations: 12 kB / 0.6287 GB, free: 5.836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004015/0.4393, allocations: 371 kB / 0.6291 GB, free: 5.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4393, allocations: 0 / 0.6291 GB, free: 5.473 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005424/0.4398, allocations: 127.8 kB / 0.6292 GB, free: 5.348 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003371/0.4402, allocations: 201.6 kB / 0.6294 GB, free: 5.145 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000867/0.441, allocations: 0.5383 MB / 0.6299 GB, free: 4.551 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4411, allocations: 0 / 0.6299 GB, free: 4.551 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.4415, allocations: 399.2 kB / 0.6303 GB, free: 4.105 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.4422, allocations: 92.17 kB / 0.6304 GB, free: 4.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4437, allocations: 0.9167 MB / 0.6313 GB, free: 3.059 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4441, allocations: 0.8383 MB / 0.6321 GB, free: 2.195 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.4442, allocations: 23.44 kB / 0.6321 GB, free: 2.172 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4442, allocations: 0 / 0.6321 GB, free: 2.172 MB / 442.7 MB Notification: Performance of Templates: time 0.01002/0.4542, allocations: 7.188 MB / 0.6392 GB, free: 11.03 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches