Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009671/0.0009671, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [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.001131/0.001131, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [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 1.022/1.022, allocations: 177 MB / 204.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] 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.2664/0.2664, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [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: 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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.057e-05, allocations: 8.984 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002704/0.002735, allocations: 2.059 MB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.004089, allocations: 0.9034 MB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.004216, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.004555, allocations: 67.53 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.004943, allocations: 131.2 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.005296, allocations: 83.61 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.005798, allocations: 413.9 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.00587, allocations: 12.94 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.006302, allocations: 199.2 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.006571, allocations: 163.4 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.006602, allocations: 12 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.006795, allocations: 75.81 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.006897, allocations: 99.56 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.006997, allocations: 99.58 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.007414, allocations: 374.5 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007417, allocations: 0 / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.007418, allocations: 0 / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.007428, allocations: 0 / 383.5 MB, free: 13.33 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.0008126/0.00824, allocations: 0.6988 MB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.008283, allocations: 8.031 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.008386, allocations: 72.64 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.008905, allocations: 227.8 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.008927, allocations: 25.38 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.008963, allocations: 40.36 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.009386, allocations: 323.6 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.009398, allocations: 192 / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.009422, allocations: 8.375 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.009478, allocations: 48.91 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.009757, allocations: 217.8 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01079, allocations: 0.9098 MB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.01105, allocations: 131 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.01113, allocations: 47.66 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.01116, allocations: 8 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.01119, allocations: 41.42 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.01119, allocations: 0 / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003964/0.01159, allocations: 194.5 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.01163, allocations: 55.41 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01176, allocations: 208.7 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01178, allocations: 25.7 kB / 386.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.0119, allocations: 263.1 kB / 387 MB, free: 9.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.01197, allocations: 87.3 kB / 387.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.01203, allocations: 51.36 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.01218, allocations: 0.504 MB / 387.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.01225, allocations: 35.98 kB / 387.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.01232, allocations: 38.72 kB / 387.7 MB, free: 8.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01247, allocations: 83.61 kB / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01248, allocations: 0 / 387.8 MB, free: 8.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002328/0.01271, allocations: 160.5 kB / 387.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01272, allocations: 8 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.01273, allocations: 3.984 kB / 387.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.01275, allocations: 0 / 387.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.01318, allocations: 159.9 kB / 388.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.01603, allocations: 8.145 MB / 396.2 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.01611, allocations: 11.95 kB / 396.3 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.01613, allocations: 11.98 kB / 396.3 MB, free: 68 kB / 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.0001387/0.01627, allocations: 172.5 kB / 396.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.01631, allocations: 27.84 kB / 396.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.01666, allocations: 254.4 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01666, allocations: 0 / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01666, allocations: 0 / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01667, allocations: 0 / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.01694, allocations: 296.5 kB / 397 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01694, allocations: 0 / 397 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.01728, allocations: 155.9 kB / 397.2 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01729, allocations: 4 kB / 397.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.0173, allocations: 11.98 kB / 397.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.02015, allocations: 8.133 MB / 405.3 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.02016, allocations: 3.984 kB / 405.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.02045, allocations: 318.1 kB / 405.6 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.02047, allocations: 12.28 kB / 405.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.0205, allocations: 8 kB / 405.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.02057, allocations: 15.92 kB / 405.6 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.02063, allocations: 23.95 kB / 405.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.02065, allocations: 11.98 kB / 405.7 MB, free: 6.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.02071, allocations: 148.2 kB / 405.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02071, allocations: 0 / 405.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.02103, allocations: 127.5 kB / 406 MB, free: 6.051 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.0002635/0.02129, allocations: 139.1 kB / 406.1 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005418/0.02184, allocations: 247.4 kB / 406.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02184, allocations: 0 / 406.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.02218, allocations: 206.1 kB / 406.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.02243, allocations: 39.22 kB / 406.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.02379, allocations: 0.6472 MB / 407.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.02388, allocations: 139.8 kB / 407.4 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.959e-05/0.02398, allocations: 45.44 kB / 407.4 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.02403, allocations: 24.48 kB / 407.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.02403, allocations: 0 / 407.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of Templates: time 0.007581/0.03161, allocations: 5.657 MB / 413.1 MB, free: 14.98 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.401555446907878]