Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 168.2 kB / 24.91 MB, free: 9.16 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2657/0.2657, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|n_nt.[0-9,]+.|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|Nu.[0-9,]+.|m_flow_1.[0-9,]+.|m_flow_2.[0-9,]+.|m_flow_3.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.699e-05, allocations: 7.516 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002557/0.002574, allocations: 2.098 MB / 325.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.003756, allocations: 0.9111 MB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.00383, allocations: 3.938 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.00408, allocations: 63.59 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.004386, allocations: 135.2 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.004572, allocations: 91.56 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.004889, allocations: 414.5 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.004941, allocations: 18.89 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.005192, allocations: 199.2 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.005372, allocations: 163.5 kB / 327.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.005398, allocations: 8 kB / 327.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.005552, allocations: 75.81 kB / 327.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-05/0.005631, allocations: 103.5 kB / 327.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.005709, allocations: 95.59 kB / 327.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.006087, allocations: 374.4 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.006088, allocations: 0 / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006089, allocations: 0 / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.006095, allocations: 4 kB / 328 MB, free: 4.895 MB / 298.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.0006851/0.00678, allocations: 0.5517 MB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.006817, allocations: 12.03 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.006888, allocations: 48.91 kB / 328.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.007099, allocations: 193.1 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.00712, allocations: 29.38 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.00715, allocations: 28.38 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.007483, allocations: 322.4 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.007497, allocations: 4.188 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.007522, allocations: 16.38 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.007569, allocations: 48.91 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.007761, allocations: 166.9 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009562/0.008717, allocations: 0.7029 MB / 330.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.00891, allocations: 171.3 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.008968, allocations: 32.84 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.008991, allocations: 4 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.009011, allocations: 34.56 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.009012, allocations: 3.938 kB / 330.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002472/0.00926, allocations: 125.5 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.00929, allocations: 59.41 kB / 330.6 MB, free: 2.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.009367, allocations: 143.5 kB / 330.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.009383, allocations: 25.7 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.009456, allocations: 212.4 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.009505, allocations: 79.3 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.009562, allocations: 41.69 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.009648, allocations: 330.7 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.009695, allocations: 22.81 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.00974, allocations: 23.97 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.00986, allocations: 77.39 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.009863, allocations: 3.938 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001612/0.01002, allocations: 109.6 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01003, allocations: 4 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.01004, allocations: 3.938 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01005, allocations: 7.938 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.01044, allocations: 111.9 kB / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.0124, allocations: 5.339 MB / 337.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.01247, allocations: 11.95 kB / 337.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.01249, allocations: 12.36 kB / 337.1 MB, free: 11.43 MB / 314.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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.01258, allocations: 136.5 kB / 337.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.01262, allocations: 15.98 kB / 337.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.01291, allocations: 190 kB / 337.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.01291, allocations: 7.938 kB / 337.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01291, allocations: 3.938 kB / 337.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01292, allocations: 0 / 337.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.01314, allocations: 165.7 kB / 337.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01315, allocations: 0 / 337.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.01348, allocations: 107.9 kB / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01349, allocations: 0 / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.0135, allocations: 15.98 kB / 337.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.01531, allocations: 5.35 MB / 343.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01531, allocations: 3.984 kB / 343.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.01552, allocations: 261 kB / 343.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.01553, allocations: 11.91 kB / 343.3 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.01555, allocations: 8 kB / 343.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.01562, allocations: 8 kB / 343.4 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.01567, allocations: 27.83 kB / 343.4 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01569, allocations: 12.19 kB / 343.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.01572, allocations: 35.86 kB / 343.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01572, allocations: 0 / 343.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.01595, allocations: 127.5 kB / 343.6 MB, free: 4.688 MB / 314.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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.01611, allocations: 116.3 kB / 343.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.01653, allocations: 183.3 kB / 343.8 MB, free: 4.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.01653, allocations: 4 kB / 343.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.01683, allocations: 140.7 kB / 344 MB, free: 4.238 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.01701, allocations: 32.95 kB / 344 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.01787, allocations: 0.6559 MB / 344.7 MB, free: 3.523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.933e-05/0.01795, allocations: 131.9 kB / 344.8 MB, free: 3.375 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.01801, allocations: 21.42 kB / 344.8 MB, free: 3.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.0181, allocations: 79.34 kB / 344.9 MB, free: 3.277 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0181, allocations: 4 kB / 344.9 MB, free: 3.273 MB / 314.7 MB Notification: Performance of Templates: time 0.006811/0.02491, allocations: 5.408 MB / 350.3 MB, free: 13.95 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_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/kc_laminar_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.342709365300834]