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.00137/0.00137, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001121/0.001121, allocations: 169.7 kB / 24.82 MB, free: 9.273 MB / 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 0.9764/0.9764, allocations: 177 MB / 205.1 MB, free: 5.477 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.2654/0.2654, allocations: 34.86 MB / 296.6 MB, free: 0.5 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 1.813e-06/1.813e-06, allocations: 0 / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.086e-05, allocations: 8.781 kB / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003942/0.003973, allocations: 2.059 MB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.005528, allocations: 0.8995 MB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005634, allocations: 0 / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.005923, allocations: 63.55 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.006309, allocations: 127.3 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.006598, allocations: 95.53 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.007016, allocations: 405.9 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.007076, allocations: 16.92 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.007416, allocations: 199.2 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.007682, allocations: 167.4 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.007719, allocations: 8 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.007922, allocations: 71.78 kB / 383.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.008032, allocations: 103.5 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.008138, allocations: 99.59 kB / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.008618, allocations: 370.5 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.00862, allocations: 4 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008621, allocations: 0 / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.008628, allocations: 0 / 383.9 MB, free: 13.11 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.0008841/0.009512, allocations: 0.6986 MB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.009555, allocations: 12.03 kB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.009672, allocations: 76.64 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.00991, allocations: 197.3 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.00994, allocations: 33.36 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.009987, allocations: 36.38 kB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.01043, allocations: 291.6 kB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01044, allocations: 4.188 kB / 385.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.01046, allocations: 20.36 kB / 385.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.01051, allocations: 44.91 kB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.01071, allocations: 170.9 kB / 385.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.01158, allocations: 0.8206 MB / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.01176, allocations: 126.9 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.01181, allocations: 39.66 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.01184, allocations: 7.938 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.01186, allocations: 41.39 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.01186, allocations: 4 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002856/0.01215, allocations: 170.5 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.01217, allocations: 59.44 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.01227, allocations: 207.3 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01229, allocations: 29.7 kB / 387 MB, free: 9.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.01239, allocations: 267.1 kB / 387.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.01245, allocations: 79.31 kB / 387.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.01251, allocations: 59.33 kB / 387.4 MB, free: 9.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01262, allocations: 0.5001 MB / 387.9 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.01267, allocations: 23.97 kB / 387.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.01271, allocations: 26.8 kB / 387.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.01283, allocations: 87.58 kB / 388 MB, free: 8.828 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01283, allocations: 0 / 388 MB, free: 8.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001845/0.01301, allocations: 144.5 kB / 388.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.01303, allocations: 11.94 kB / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01303, allocations: 0 / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.01304, allocations: 0 / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.01341, allocations: 155.9 kB / 388.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.01561, allocations: 8.145 MB / 396.5 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.01568, allocations: 12.42 kB / 396.5 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01569, allocations: 12 kB / 396.5 MB, free: 96 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.0001097/0.0158, allocations: 164.6 kB / 396.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.01584, allocations: 27.84 kB / 396.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.01613, allocations: 242.4 kB / 396.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01613, allocations: 7.938 kB / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01613, allocations: 0 / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01614, allocations: 0 / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.01635, allocations: 221 kB / 397.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01635, allocations: 0 / 397.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.01667, allocations: 167.9 kB / 397.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01667, allocations: 4 kB / 397.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01669, allocations: 4 kB / 397.3 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.01875, allocations: 8.129 MB / 405.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01875, allocations: 0 / 405.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.01898, allocations: 314.1 kB / 405.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.912e-05/0.019, allocations: 15.89 kB / 405.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.01902, allocations: 11.94 kB / 405.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.01909, allocations: 4.25 kB / 405.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.01913, allocations: 23.97 kB / 405.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01915, allocations: 11.98 kB / 405.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.011e-05/0.0192, allocations: 155.6 kB / 406 MB, free: 6.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0192, allocations: 0 / 406 MB, free: 6.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.01947, allocations: 131.5 kB / 406.1 MB, free: 6.172 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.0001871/0.01966, allocations: 135 kB / 406.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.02009, allocations: 231.5 kB / 406.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02009, allocations: 0 / 406.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.0204, allocations: 214 kB / 406.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.02063, allocations: 23.98 kB / 406.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/0.0215, allocations: 0.6406 MB / 407.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.496e-05/0.02158, allocations: 143.9 kB / 407.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.28e-05/0.02164, allocations: 21.47 kB / 407.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.02174, allocations: 98.17 kB / 407.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02174, allocations: 0 / 407.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of Templates: time 0.006866/0.0286, allocations: 5.446 MB / 413 MB, free: 15.23 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.2369108740240335]