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.001067/0.001067, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001251/0.001251, allocations: 170.4 kB / 25.61 MB, free: 8.914 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 0.9568/0.9568, allocations: 177.1 MB / 206 MB, free: 4.5 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.1391/0.1391, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.914e-06/1.914e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.208e-05, allocations: 6.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003881/0.003913, allocations: 2.039 MB / 379.4 MB, free: 23.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.005347, allocations: 0.8955 MB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.005469, allocations: 3.938 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.005761, allocations: 67.59 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.006164, allocations: 135.2 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.006457, allocations: 91.58 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.006856, allocations: 401.9 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.006921, allocations: 12.94 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.007268, allocations: 199.2 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.007518, allocations: 167.4 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.007553, allocations: 16 kB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.007753, allocations: 67.84 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.007864, allocations: 107.5 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.00798, allocations: 103.6 kB / 381.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.008435, allocations: 366.5 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.008438, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.00844, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.00845, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.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.0007531/0.009203, allocations: 0.7065 MB / 382.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.009235, allocations: 11.98 kB / 382.7 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.009307, allocations: 72.66 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.009472, allocations: 206.8 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.00949, allocations: 25.38 kB / 383 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.009519, allocations: 36.36 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.00978, allocations: 283.6 kB / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.009791, allocations: 192 / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.009811, allocations: 12.38 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.009853, allocations: 48.84 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.01003, allocations: 178.9 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.01078, allocations: 0.8167 MB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.01095, allocations: 129.9 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.011, allocations: 39.66 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.01103, allocations: 12.03 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.01104, allocations: 37.39 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.01104, allocations: 0 / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002732/0.01132, allocations: 173.6 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.01134, allocations: 55.41 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.101e-05/0.0114, allocations: 205.9 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.01141, allocations: 25.7 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.01147, allocations: 267.1 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.01151, allocations: 79.34 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.01156, allocations: 55.34 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.01161, allocations: 0.5079 MB / 385.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.01165, allocations: 19.98 kB / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.456e-05/0.0117, allocations: 31.91 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.0118, allocations: 74.42 kB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0118, allocations: 4 kB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000179/0.01198, allocations: 152.9 kB / 386.2 MB, free: 16.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.01199, allocations: 8 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.012, allocations: 0 / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.657e-06/0.01201, allocations: 0 / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.01237, allocations: 159.9 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.01354, allocations: 8.149 MB / 394.5 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.01361, allocations: 15.89 kB / 394.5 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01362, allocations: 11.98 kB / 394.5 MB, free: 7.871 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 8.115e-05/0.01371, allocations: 160.9 kB / 394.7 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.01374, allocations: 27.91 kB / 394.7 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.01401, allocations: 238.5 kB / 394.9 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01402, allocations: 7.875 kB / 394.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01402, allocations: 0 / 394.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01402, allocations: 3.984 kB / 394.9 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.0142, allocations: 221 kB / 395.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01421, allocations: 0 / 395.2 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.01452, allocations: 159.9 kB / 395.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01452, allocations: 0 / 395.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01453, allocations: 11.98 kB / 395.3 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.01576, allocations: 8.141 MB / 403.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01577, allocations: 0 / 403.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.01602, allocations: 303.6 kB / 403.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.01603, allocations: 15.84 kB / 403.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.01606, allocations: 11.94 kB / 403.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.01613, allocations: 8 kB / 403.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.01618, allocations: 23.95 kB / 403.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01619, allocations: 4 kB / 403.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.01625, allocations: 154.4 kB / 404 MB, free: 14.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01625, allocations: 4.125 kB / 404 MB, free: 14.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002859/0.01654, allocations: 127.5 kB / 404.1 MB, free: 13.95 MB / 330.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.0001937/0.01673, allocations: 135.1 kB / 404.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.01719, allocations: 234.4 kB / 404.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01719, allocations: 0 / 404.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.01752, allocations: 199.4 kB / 404.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01776, allocations: 35.98 kB / 404.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/0.01865, allocations: 0.65 MB / 405.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.01873, allocations: 135.9 kB / 405.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.01879, allocations: 21.47 kB / 405.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01889, allocations: 98.17 kB / 405.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01889, allocations: 0 / 405.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of Templates: time 0.007273/0.02616, allocations: 5.555 MB / 411.1 MB, free: 6.969 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 -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.4644667650572956]