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.001066/0.001066, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008979/0.0008974, allocations: 108.4 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2711/0.2711, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000243/0.000243, allocations: 11.98 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2778, allocations: 63.25 MB / 0.5192 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.3888, allocations: 95.92 MB / 0.6129 GB, free: 7.516 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.3892, allocations: 99.72 kB / 0.613 GB, free: 7.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02966/0.4189, allocations: 11.21 MB / 0.6239 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4189, allocations: 0 / 0.6239 GB, free: 12.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.4189, allocations: 4 kB / 0.6239 GB, free: 12.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.001041/0.42, allocations: 0.6548 MB / 0.6246 GB, free: 11.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.42, allocations: 8.031 kB / 0.6246 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004048/0.4204, allocations: 83.44 kB / 0.6247 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.4209, allocations: 290.5 kB / 0.6249 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.4209, allocations: 33 kB / 0.625 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.421, allocations: 36 kB / 0.625 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.4219, allocations: 0.5855 MB / 0.6256 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4219, allocations: 0 / 0.6256 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.422, allocations: 19.98 kB / 0.6256 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.422, allocations: 20.98 kB / 0.6256 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.4228, allocations: 455.5 kB / 0.626 GB, free: 9.762 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.4248, allocations: 1.402 MB / 0.6274 GB, free: 8.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.4253, allocations: 279.6 kB / 0.6277 GB, free: 7.992 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.232e-05/0.4253, allocations: 7.984 kB / 0.6277 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.4254, allocations: 42.56 kB / 0.6277 GB, free: 7.934 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.4254, allocations: 3.938 kB / 0.6277 GB, free: 7.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.001212/0.4266, allocations: 0.7094 MB / 0.6284 GB, free: 7.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.4267, allocations: 106.8 kB / 0.6285 GB, free: 7.031 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.4272, allocations: 461.2 kB / 0.629 GB, free: 6.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.4272, allocations: 25.7 kB / 0.629 GB, free: 6.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4273, allocations: 204.1 kB / 0.6292 GB, free: 6.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.4274, allocations: 63.2 kB / 0.6292 GB, free: 6.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.4274, allocations: 3.938 kB / 0.6292 GB, free: 6.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4275, allocations: 354.8 kB / 0.6296 GB, free: 5.914 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.4278, allocations: 136 kB / 0.6297 GB, free: 5.777 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.4282, allocations: 187 kB / 0.6299 GB, free: 5.578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.4285, allocations: 157.6 kB / 0.63 GB, free: 5.426 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4285, allocations: 0 / 0.63 GB, free: 5.426 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007633/0.4293, allocations: 404.8 kB / 0.6304 GB, free: 5.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4293, allocations: 4 kB / 0.6304 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.016e-05/0.4294, allocations: 31.97 kB / 0.6305 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4294, allocations: 0 / 0.6305 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.4296, allocations: 36.09 kB / 0.6305 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4297, allocations: 15.89 kB / 0.6305 GB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.4299, allocations: 67.34 kB / 0.6306 GB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.43, allocations: 12 kB / 0.6306 GB, free: 4.859 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.0001796/0.4302, allocations: 177.8 kB / 0.6308 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.4303, allocations: 43.53 kB / 0.6308 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/0.431, allocations: 404.6 kB / 0.6312 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.431, allocations: 4 kB / 0.6312 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.431, allocations: 0 / 0.6312 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.431, allocations: 7.953 kB / 0.6312 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.4315, allocations: 357.3 kB / 0.6315 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.765e-05/0.4316, allocations: 31.97 kB / 0.6316 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.4317, allocations: 31.97 kB / 0.6316 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.4317, allocations: 0 / 0.6316 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4318, allocations: 15.92 kB / 0.6316 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4318, allocations: 0 / 0.6316 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4318, allocations: 0 / 0.6316 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.4326, allocations: 0.6183 MB / 0.6322 GB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4327, allocations: 128.5 kB / 0.6323 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.4328, allocations: 0 / 0.6323 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.433, allocations: 31.94 kB / 0.6324 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.4331, allocations: 19.97 kB / 0.6324 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.4331, allocations: 8 kB / 0.6324 GB, free: 2.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003505/0.4335, allocations: 375 kB / 0.6328 GB, free: 2.531 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4335, allocations: 0 / 0.6328 GB, free: 2.531 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005596/0.4341, allocations: 131.8 kB / 0.6329 GB, free: 2.402 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.000436/0.4345, allocations: 214 kB / 0.6331 GB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007891/0.4353, allocations: 0.5381 MB / 0.6336 GB, free: 1.594 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4353, allocations: 0 / 0.6336 GB, free: 1.594 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.4357, allocations: 399.4 kB / 0.634 GB, free: 1.148 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.4362, allocations: 89.55 kB / 0.6341 GB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4376, allocations: 0.8914 MB / 0.6349 GB, free: 136 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.438, allocations: 0.8577 MB / 0.6358 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.4382, allocations: 59.25 kB / 0.6358 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.4382, allocations: 23.44 kB / 0.6359 GB, free: 15.17 MB / 458.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4382, allocations: 0 / 0.6359 GB, free: 15.17 MB / 458.7 MB Notification: Performance of Templates: time 0.01097/0.4492, allocations: 6.947 MB / 0.6427 GB, free: 8.312 MB / 458.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