Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00111/0.00111, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001252/0.001252, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.038/1.038, allocations: 177.2 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2749/0.2749, allocations: 34.26 MB / 295.7 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.277e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002828/0.002861, allocations: 2.074 MB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.004387, allocations: 0.9034 MB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.004494, allocations: 4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.004785, allocations: 63.53 kB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.005127, allocations: 131.2 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.00538, allocations: 95.59 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.005778, allocations: 401.9 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.005837, allocations: 12.94 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.006164, allocations: 199.2 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.006378, allocations: 163.4 kB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.006406, allocations: 12 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.006572, allocations: 79.77 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.006667, allocations: 99.55 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.78e-05/0.006765, allocations: 95.59 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.007168, allocations: 374.4 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007171, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007173, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.007179, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.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.0009017/0.008081, allocations: 0.7027 MB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.008129, allocations: 8.031 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.008234, allocations: 72.66 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.008483, allocations: 222.9 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.008507, allocations: 29.38 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.008542, allocations: 32.36 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.008993, allocations: 323.6 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.009004, allocations: 192 / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.00903, allocations: 16.36 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-05/0.009087, allocations: 40.92 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.009376, allocations: 221.9 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.01044, allocations: 0.9059 MB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.0107, allocations: 146.9 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.01078, allocations: 50.67 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.01081, allocations: 7.984 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.01084, allocations: 33.39 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.01084, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003686/0.01121, allocations: 193.6 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.01124, allocations: 55.41 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.0114, allocations: 205.9 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.01143, allocations: 33.7 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.01153, allocations: 263.1 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/0.0116, allocations: 83.31 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.01168, allocations: 59.34 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.01184, allocations: 0.4962 MB / 386.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.01192, allocations: 31.97 kB / 386.9 MB, free: 9.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.01199, allocations: 31.92 kB / 387 MB, free: 9.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.01215, allocations: 91.03 kB / 387.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01216, allocations: 0 / 387.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000246/0.0124, allocations: 161.4 kB / 387.2 MB, free: 9.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01242, allocations: 14.19 kB / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01243, allocations: 0 / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01244, allocations: 0 / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.01287, allocations: 155.9 kB / 387.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.01545, allocations: 8.141 MB / 395.5 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.01553, allocations: 11.95 kB / 395.5 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.01556, allocations: 15.98 kB / 395.5 MB, free: 0.6641 MB / 362.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 0.0001234/0.01568, allocations: 164.8 kB / 395.7 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.01572, allocations: 31.84 kB / 395.7 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.01606, allocations: 249.3 kB / 396 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01606, allocations: 0 / 396 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01607, allocations: 3.938 kB / 396 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01607, allocations: 0 / 396 MB, free: 216 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.01633, allocations: 296.4 kB / 396.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01633, allocations: 4 kB / 396.3 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.01668, allocations: 159.9 kB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01668, allocations: 4 kB / 396.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.0167, allocations: 8 kB / 396.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/0.019, allocations: 8.141 MB / 404.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.019, allocations: 3.938 kB / 404.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.01928, allocations: 319.6 kB / 404.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.0193, allocations: 11.91 kB / 404.9 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01932, allocations: 4 kB / 404.9 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.01939, allocations: 4 kB / 404.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.01946, allocations: 23.95 kB / 404.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.01948, allocations: 12 kB / 405 MB, free: 6.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.379e-05/0.01954, allocations: 150 kB / 405.1 MB, free: 6.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01954, allocations: 4.125 kB / 405.1 MB, free: 6.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.01986, allocations: 131.5 kB / 405.2 MB, free: 6.648 MB / 378.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.0002166/0.02007, allocations: 143 kB / 405.4 MB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005095/0.02058, allocations: 250.4 kB / 405.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.02058, allocations: 0 / 405.6 MB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.02092, allocations: 203.5 kB / 405.8 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.02118, allocations: 31.97 kB / 405.9 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.02225, allocations: 0.6406 MB / 406.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.432e-05/0.02234, allocations: 139.9 kB / 406.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.783e-05/0.02243, allocations: 41.42 kB / 406.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.02249, allocations: 20.48 kB / 406.7 MB, free: 5.125 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02249, allocations: 4 kB / 406.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of Templates: time 0.007481/0.02997, allocations: 5.656 MB / 412.3 MB, free: 15.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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.3859111689962447]