Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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.001535/0.001535, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001545/0.001545, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.936/0.936, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1378/0.1378, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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,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,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,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,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.341e-05, allocations: 2.312 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002031/0.002054, allocations: 2.159 MB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003404, allocations: 1.239 MB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.003486, allocations: 7.938 kB / 351.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.003727, allocations: 55.56 kB / 351.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.003921, allocations: 111.3 kB / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.004325, allocations: 187.2 kB / 351.5 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.004608, allocations: 453.7 kB / 351.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.004657, allocations: 16.94 kB / 351.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.004831, allocations: 203.2 kB / 352.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.004974, allocations: 159.5 kB / 352.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.005, allocations: 12 kB / 352.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.005188, allocations: 139.6 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.005256, allocations: 99.53 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.005331, allocations: 103.6 kB / 352.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.005666, allocations: 446.2 kB / 353.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005669, allocations: 3.984 kB / 353.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.005669, allocations: 0 / 353.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.005675, allocations: 0 / 353.1 MB, free: 4.027 MB / 282.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.0006521/0.006327, allocations: 0.7415 MB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.006363, allocations: 8.031 kB / 353.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.006441, allocations: 76.66 kB / 353.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.006624, allocations: 223.8 kB / 354.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.006641, allocations: 33.36 kB / 354.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.00667, allocations: 36.38 kB / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.007057, allocations: 408.4 kB / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.007069, allocations: 192 / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.007092, allocations: 20.38 kB / 354.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.007126, allocations: 28.88 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.007308, allocations: 141.9 kB / 354.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.008173, allocations: 1.274 MB / 356 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.008351, allocations: 149.2 kB / 356.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.136e-05/0.008422, allocations: 58.98 kB / 356.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.008454, allocations: 7.938 kB / 356.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.008469, allocations: 37.39 kB / 356.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.008471, allocations: 4 kB / 356.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003578/0.008829, allocations: 169.6 kB / 356.5 MB, free: 440 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.008852, allocations: 114.7 kB / 356.6 MB, free: 300 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.008956, allocations: 254.7 kB / 356.8 MB, free: 24 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.00899, allocations: 29.7 kB / 356.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.009099, allocations: 274.8 kB / 357.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.009137, allocations: 63.64 kB / 357.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.009205, allocations: 63.25 kB / 357.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.009315, allocations: 0.5 MB / 357.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.009389, allocations: 28.23 kB / 357.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.543e-05/0.009484, allocations: 90.09 kB / 357.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.00966, allocations: 130 kB / 358 MB, free: 14.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.009663, allocations: 0 / 358 MB, free: 14.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002608/0.009924, allocations: 172.9 kB / 358.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.009938, allocations: 4.156 kB / 358.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/0.009976, allocations: 35.98 kB / 358.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.009989, allocations: 0 / 358.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01009, allocations: 23.98 kB / 358.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.0101, allocations: 11.92 kB / 358.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.01017, allocations: 19.89 kB / 358.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.01019, allocations: 19.98 kB / 358.3 MB, free: 14.49 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.056e-05/0.01028, allocations: 164.5 kB / 358.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.01034, allocations: 19.86 kB / 358.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.01063, allocations: 214.9 kB / 358.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.01064, allocations: 7.984 kB / 358.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01064, allocations: 3.938 kB / 358.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.01065, allocations: 0 / 358.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.01094, allocations: 304.3 kB / 359 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.01097, allocations: 32 kB / 359 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.01103, allocations: 19.92 kB / 359 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01104, allocations: 0 / 359 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01106, allocations: 19.98 kB / 359 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01106, allocations: 0 / 359 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01106, allocations: 0 / 359 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.01137, allocations: 0.5277 MB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.01139, allocations: 19.86 kB / 359.6 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01141, allocations: 7.984 kB / 359.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.01152, allocations: 11.98 kB / 359.6 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.01159, allocations: 27.91 kB / 359.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.0116, allocations: 8 kB / 359.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.04e-05/0.01168, allocations: 177.4 kB / 359.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01168, allocations: 0 / 359.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.012, allocations: 143.4 kB / 359.9 MB, free: 12.73 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/0.01222, allocations: 163 kB / 360.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.01253, allocations: 347 kB / 360.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01253, allocations: 0 / 360.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.0127, allocations: 302.9 kB / 360.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.01303, allocations: 36.75 kB / 360.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.01414, allocations: 0.6865 MB / 361.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.01423, allocations: 135.6 kB / 361.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.635e-05/0.01429, allocations: 25.47 kB / 361.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.01433, allocations: 24.44 kB / 361.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01433, allocations: 0 / 361.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of Templates: time 0.007785/0.02212, allocations: 5.524 MB / 367.2 MB, free: 5.391 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar/kc_laminar.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.2624486507847905]