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.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.0012/0.0012, 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.0009028/0.0009028, allocations: 168.7 kB / 24.91 MB, free: 9.195 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.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.278/0.278, allocations: 32.81 MB / 294.6 MB, free: 1.176 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,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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.653e-05, allocations: 5.297 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.003396/0.003422, allocations: 2.145 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.005484, allocations: 1.273 MB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.005652, allocations: 0 / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.005948, allocations: 67.59 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.006198, allocations: 103.3 kB / 326.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.006805, allocations: 211 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.007215, allocations: 470.3 kB / 327.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.432e-05/0.007279, allocations: 18.91 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.007583, allocations: 203.2 kB / 327.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.007774, allocations: 155.5 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.007808, allocations: 19.94 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.008092, allocations: 139.7 kB / 328 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.00821, allocations: 103.5 kB / 328.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.008315, allocations: 103.6 kB / 328.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005272/0.008842, allocations: 458.9 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.008847, allocations: 3.984 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008848, allocations: 0 / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.008856, allocations: 4 kB / 328.7 MB, free: 4.18 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0007018/0.009558, allocations: 0.5905 MB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.009591, allocations: 8.031 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.00982, allocations: 88.86 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.01006, allocations: 201.7 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.01009, allocations: 33.36 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.01012, allocations: 40.38 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.01051, allocations: 363.8 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.01052, allocations: 4.125 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.01055, allocations: 20.36 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.01059, allocations: 28.94 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.01075, allocations: 140.5 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.01168, allocations: 0.9212 MB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.01185, allocations: 153.3 kB / 331.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.0119, allocations: 38.56 kB / 331.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.01194, allocations: 7.938 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.01196, allocations: 38.55 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.344e-06/0.01196, allocations: 0 / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002615/0.01222, allocations: 110.2 kB / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.01227, allocations: 106.8 kB / 331.6 MB, free: 1.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.01239, allocations: 191.5 kB / 331.7 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01241, allocations: 25.7 kB / 331.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.01251, allocations: 224.2 kB / 332 MB, free: 0.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.01254, allocations: 67.72 kB / 332.1 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.0126, allocations: 37.69 kB / 332.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/0.01268, allocations: 334.7 kB / 332.4 MB, free: 228 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/0.01273, allocations: 14.83 kB / 332.4 MB, free: 212 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.01293, allocations: 61.12 kB / 332.5 MB, free: 132 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.01308, allocations: 117.8 kB / 332.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01308, allocations: 0 / 332.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001828/0.01326, allocations: 128.8 kB / 332.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01328, allocations: 8 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.01331, allocations: 19.98 kB / 332.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01332, allocations: 4 kB / 332.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01343, allocations: 19.98 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.01343, allocations: 7.984 kB / 332.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.0135, allocations: 27.81 kB / 332.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.01352, allocations: 12.09 kB / 332.8 MB, free: 15.76 MB / 314.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.794e-05/0.01362, allocations: 120.7 kB / 333 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.01367, allocations: 16 kB / 333 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.0139, allocations: 169.2 kB / 333.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.01391, allocations: 4 kB / 333.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01391, allocations: 0 / 333.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01391, allocations: 3.984 kB / 333.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.01418, allocations: 173.6 kB / 333.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/0.01421, allocations: 15.98 kB / 333.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.01427, allocations: 15.98 kB / 333.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01427, allocations: 4 kB / 333.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01429, allocations: 8 kB / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01429, allocations: 7.922 kB / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01429, allocations: 0 / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.01452, allocations: 399.9 kB / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.01454, allocations: 19.89 kB / 333.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.01456, allocations: 3.984 kB / 333.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.01467, allocations: 12 kB / 333.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.01472, allocations: 15.97 kB / 333.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.01473, allocations: 4 kB / 333.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.01478, allocations: 69.7 kB / 333.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01478, allocations: 0 / 333.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.01513, allocations: 139.4 kB / 334 MB, free: 14.53 MB / 314.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.0002324/0.01537, allocations: 148.1 kB / 334.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.01564, allocations: 320.2 kB / 334.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.01565, allocations: 4 kB / 334.5 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.01579, allocations: 284.1 kB / 334.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.01613, allocations: 45.38 kB / 334.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.01725, allocations: 0.6713 MB / 335.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.01733, allocations: 123.8 kB / 335.6 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.855e-05/0.0174, allocations: 13.48 kB / 335.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.01758, allocations: 127.3 kB / 335.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.854e-06/0.01758, allocations: 0 / 335.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Templates: time 0.007739/0.02532, allocations: 5.162 MB / 340.9 MB, free: 7.559 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_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.16616053506732]