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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009851/0.0009852, allocations: 195.4 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000803/0.000803, allocations: 102.8 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3091/0.3091, allocations: 44.81 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002388/0.0002388, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2855, allocations: 62.95 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3902, allocations: 93.97 MB / 0.6083 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.3905, allocations: 95.94 kB / 0.6084 GB, free: 11.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02562/0.4162, allocations: 9.8 MB / 0.6179 GB, free: 1.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4162, allocations: 0 / 0.6179 GB, free: 1.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4162, allocations: 4 kB / 0.6179 GB, free: 1.316 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007724/0.417, allocations: 0.581 MB / 0.6185 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.417, allocations: 15.97 kB / 0.6185 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.4171, allocations: 44.47 kB / 0.6186 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.4175, allocations: 276.5 kB / 0.6188 GB, free: 320 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.4175, allocations: 29.36 kB / 0.6188 GB, free: 292 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.4176, allocations: 40.36 kB / 0.6189 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/0.4184, allocations: 0.5456 MB / 0.6194 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4184, allocations: 192 / 0.6194 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.4185, allocations: 19.94 kB / 0.6194 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.4185, allocations: 32.98 kB / 0.6195 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/0.4194, allocations: 0.5776 MB / 0.62 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.421, allocations: 1.175 MB / 0.6212 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.4216, allocations: 376.3 kB / 0.6215 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.4219, allocations: 136.7 kB / 0.6217 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.4219, allocations: 8.172 kB / 0.6217 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.422, allocations: 38.5 kB / 0.6217 GB, free: 13.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.422, allocations: 0 / 0.6217 GB, free: 13.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009133/0.4229, allocations: 478 kB / 0.6222 GB, free: 12.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.4229, allocations: 51.41 kB / 0.6222 GB, free: 12.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004513/0.4234, allocations: 453.6 kB / 0.6226 GB, free: 12.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4234, allocations: 29.7 kB / 0.6227 GB, free: 12.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4236, allocations: 200.2 kB / 0.6229 GB, free: 12.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.4236, allocations: 67 kB / 0.6229 GB, free: 11.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.4237, allocations: 8 kB / 0.6229 GB, free: 11.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4238, allocations: 346.8 kB / 0.6233 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.424, allocations: 119.9 kB / 0.6234 GB, free: 11.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.4243, allocations: 130.6 kB / 0.6235 GB, free: 11.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.4247, allocations: 264.6 kB / 0.6238 GB, free: 11.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4247, allocations: 0 / 0.6238 GB, free: 11.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005978/0.4254, allocations: 359.1 kB / 0.6241 GB, free: 10.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4254, allocations: 7.938 kB / 0.6241 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4254, allocations: 0 / 0.6241 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4254, allocations: 4 kB / 0.6241 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.4261, allocations: 155.9 kB / 0.6243 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.4289, allocations: 5.528 MB / 0.6297 GB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.4291, allocations: 51.77 kB / 0.6297 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.4291, allocations: 8 kB / 0.6297 GB, free: 4.812 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.4293, allocations: 189.7 kB / 0.6299 GB, free: 4.617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.4294, allocations: 39.47 kB / 0.6299 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008111/0.4302, allocations: 452.6 kB / 0.6304 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4302, allocations: 4 kB / 0.6304 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4302, allocations: 0 / 0.6304 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4303, allocations: 0 / 0.6304 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.4307, allocations: 377.2 kB / 0.6307 GB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4307, allocations: 7.938 kB / 0.6307 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.4314, allocations: 155.9 kB / 0.6309 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4314, allocations: 4 kB / 0.6309 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.4314, allocations: 8 kB / 0.6309 GB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.4341, allocations: 5.52 MB / 0.6363 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4342, allocations: 0 / 0.6363 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/0.4348, allocations: 470.5 kB / 0.6367 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4349, allocations: 120.6 kB / 0.6369 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.435, allocations: 4 kB / 0.6369 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.4352, allocations: 11.98 kB / 0.6369 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.4352, allocations: 23.91 kB / 0.6369 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.4353, allocations: 12 kB / 0.6369 GB, free: 13.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003248/0.4356, allocations: 331.1 kB / 0.6372 GB, free: 12.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4356, allocations: 0 / 0.6372 GB, free: 12.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.436, allocations: 119.8 kB / 0.6373 GB, free: 12.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/0.4363, allocations: 169.8 kB / 0.6375 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.4374, allocations: 412.7 kB / 0.6379 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4375, allocations: 0 / 0.6379 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008376/0.4383, allocations: 281.4 kB / 0.6382 GB, free: 11.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.4388, allocations: 93.36 kB / 0.6382 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4401, allocations: 0.8876 MB / 0.6391 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4405, allocations: 0.8464 MB / 0.6399 GB, free: 9.965 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.4406, allocations: 31.42 kB / 0.64 GB, free: 9.934 MB / 458.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4406, allocations: 0 / 0.64 GB, free: 9.934 MB / 458.7 MB Notification: Performance of Templates: time 0.02035/0.461, allocations: 19.3 MB / 0.6588 GB, free: 6.668 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches