Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0002361/0.0002361, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0002222/0.0002222, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.12/0.12, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.02545/0.02545, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: simulate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,startTime=0,stopTime=1.01,tolerance=1e-05,numberOfIntervals=5004,outputFormat="mat",variableFilter="time|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,]+.|m_flow_4.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|kc_4.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|Re_4.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,startTime=0,stopTime=1.01,tolerance=1e-05,numberOfIntervals=5004,outputFormat="mat",variableFilter="time|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,]+.|m_flow_4.[0-9,]+.|kc_1.[0-9,]+.|kc_2.[0-9,]+.|kc_3.[0-9,]+.|kc_4.[0-9,]+.|Re_1.[0-9,]+.|Re_2.[0-9,]+.|Re_3.[0-9,]+.|Re_4.[0-9,]+.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.038e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003368/0.003388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001752/0.00514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.005223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.005499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.00596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.006266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003778/0.006644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.006693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.007017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.007225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.00727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.007516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.007629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.007748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004997/0.008248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.938e-05/0.008297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.192e-06/0.008299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.181e-06/0.008305, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001055/0.00936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.462e-05/0.009444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.0096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.009887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/0.009941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.01003, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.01061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.01064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.0107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-05/0.01079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.01112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.01257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.01294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.01298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=28): time 5.5e-06/0.01301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=28): time 0.0006804/0.01369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.01372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.01387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.01393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.01408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.01419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.01437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.00019/0.01456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.01467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.0148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.01511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.01512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005426/0.01566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.01569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.0157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.01572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/0.01652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.01819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.01839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.01844, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.01867, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.01873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008221/0.01955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.01956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.01957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.02009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.0201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008174/0.02092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.02092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.02097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.02265, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.02266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.02307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.02315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.02327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.02346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.02361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.02366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.86e-05/0.02373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.692e-06/0.02374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006871/0.02442, allocations: 0 / 0, free: 0 / 0 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 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.0004228/0.02485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001009/0.02585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.02586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.000745/0.0266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.02725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.0285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.02863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000162/0.02879, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.02899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.975e-05/0.02902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002348/0.03137, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,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],m_flow_4[1],m_flow_4[2],m_flow_4[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],kc_4[1],kc_4[2],kc_4[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],Re_4[1],Re_4[2],Re_4[3],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Nu[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],Re_4[1],Re_4[2],Re_4[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,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],kc_4[1],kc_4[2],kc_4[3],lambda[1],lambda[2],lambda[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],m_flow_4[1],m_flow_4[2],m_flow_4[3],n,rho[1],rho[2],rho[3],time filterSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff.mat", vars={"m_flow_4[1]", "m_flow_3[1]", "m_flow_2[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff.ref.mat", vars={"m_flow_4[1]", "m_flow_3[1]", "m_flow_2[1]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.1507788230665028]