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/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_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/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008372/0.0008373, allocations: 98.83 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.178/0.178, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.573e-05, allocations: 7.203 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09636/0.09639, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4615, allocations: 95.18 MB / 0.5973 GB, free: 7.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4617, allocations: 96.67 kB / 0.5974 GB, free: 7.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02769/0.4894, allocations: 11.07 MB / 0.6082 GB, free: 13.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4895, allocations: 0 / 0.6082 GB, free: 13.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.4895, allocations: 4 kB / 0.6082 GB, free: 13.93 MB / 410.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.0009336/0.4905, allocations: 0.6237 MB / 0.6089 GB, free: 13.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4905, allocations: 8.031 kB / 0.6089 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.4909, allocations: 93.72 kB / 0.6089 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.4913, allocations: 279.9 kB / 0.6092 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4914, allocations: 12 kB / 0.6092 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.4914, allocations: 20 kB / 0.6092 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000529/0.492, allocations: 327.9 kB / 0.6096 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.4927, allocations: 0.4883 MB / 0.61 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.4927, allocations: 0 / 0.61 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.4928, allocations: 0 / 0.61 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/0.4928, allocations: 24.78 kB / 0.6101 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.4946, allocations: 1.243 MB / 0.6113 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.495, allocations: 232.2 kB / 0.6115 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.4952, allocations: 104.9 kB / 0.6116 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.4953, allocations: 11.97 kB / 0.6116 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.4953, allocations: 42.06 kB / 0.6116 GB, free: 10.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.4953, allocations: 0 / 0.6116 GB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.000571/0.4959, allocations: 256.3 kB / 0.6119 GB, free: 10.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.496, allocations: 110.2 kB / 0.612 GB, free: 10.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.4962, allocations: 177.7 kB / 0.6122 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.4962, allocations: 25.7 kB / 0.6122 GB, free: 10.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.4964, allocations: 231.4 kB / 0.6124 GB, free: 9.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.4964, allocations: 53.83 kB / 0.6125 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.4964, allocations: 0 / 0.6125 GB, free: 9.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4966, allocations: 332.3 kB / 0.6128 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.4967, allocations: 94.17 kB / 0.6129 GB, free: 9.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.497, allocations: 137.3 kB / 0.613 GB, free: 9.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.4972, allocations: 114.3 kB / 0.6131 GB, free: 9.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4972, allocations: 0 / 0.6131 GB, free: 9.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005151/0.4977, allocations: 289.2 kB / 0.6134 GB, free: 8.906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4977, allocations: 4 kB / 0.6134 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.507e-05/0.4978, allocations: 28.12 kB / 0.6134 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4978, allocations: 11.98 kB / 0.6134 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.4981, allocations: 39.91 kB / 0.6135 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4981, allocations: 4 kB / 0.6135 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4984, allocations: 35.77 kB / 0.6135 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.4984, allocations: 19.5 kB / 0.6135 GB, free: 8.77 MB / 410.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 () * 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 9.652e-05/0.4985, allocations: 108.9 kB / 0.6136 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.4986, allocations: 19.72 kB / 0.6136 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/0.4993, allocations: 332.8 kB / 0.614 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4993, allocations: 7.984 kB / 0.614 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4993, allocations: 0 / 0.614 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4993, allocations: 8 kB / 0.614 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.4998, allocations: 323.8 kB / 0.6143 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/0.4999, allocations: 27.3 kB / 0.6143 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.5001, allocations: 35.97 kB / 0.6143 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5001, allocations: 3.984 kB / 0.6143 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.5001, allocations: 8 kB / 0.6144 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5001, allocations: 3.938 kB / 0.6144 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5001, allocations: 0 / 0.6144 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.5007, allocations: 0.5208 MB / 0.6149 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.5008, allocations: 92.86 kB / 0.615 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.5008, allocations: 4 kB / 0.615 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.5012, allocations: 23.97 kB / 0.615 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.5012, allocations: 23.44 kB / 0.615 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.5013, allocations: 11.98 kB / 0.615 GB, free: 7.238 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.5014, allocations: 149.7 kB / 0.6152 GB, free: 7.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5014, allocations: 0 / 0.6152 GB, free: 7.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006324/0.5021, allocations: 150.9 kB / 0.6153 GB, free: 6.969 MB / 410.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 () * 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.0003508/0.5024, allocations: 206.7 kB / 0.6155 GB, free: 6.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.503, allocations: 454.5 kB / 0.6159 GB, free: 6.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.503, allocations: 0 / 0.6159 GB, free: 6.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.5034, allocations: 357.2 kB / 0.6163 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.5037, allocations: 23.62 kB / 0.6163 GB, free: 5.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.505, allocations: 0.5387 MB / 0.6168 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.5055, allocations: 0.86 MB / 0.6177 GB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.5056, allocations: 21.19 kB / 0.6177 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.5057, allocations: 19.42 kB / 0.6177 GB, free: 4.422 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5057, allocations: 7.938 kB / 0.6177 GB, free: 4.414 MB / 410.7 MB Notification: Performance of Templates: time 0.007247/0.5129, allocations: 4.008 MB / 0.6216 GB, free: 464 kB / 410.7 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches