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.001147/0.001147, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001221/0.001221, 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 0.9923/0.9923, allocations: 177 MB / 204.8 MB, free: 5.594 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.2589/0.2589, allocations: 34.88 MB / 296.3 MB, free: 0.5586 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.875e-06/2.875e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.632e-05/3.919e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.004579/0.004618, allocations: 2.063 MB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.006593, allocations: 0.9033 MB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.006749, allocations: 0 / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.007151, allocations: 67.53 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.007682, allocations: 131.2 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.008053, allocations: 95.56 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.008586, allocations: 409.9 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.008669, allocations: 12.94 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.009142, allocations: 195.2 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.009471, allocations: 163.4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.009526, allocations: 15.94 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.009785, allocations: 71.84 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.009923, allocations: 103.5 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.01006, allocations: 103.6 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.01069, allocations: 366.5 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.01069, allocations: 0 / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.0107, allocations: 4 kB / 383.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.01071, allocations: 0 / 383.5 MB, free: 13.37 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.001115/0.01183, allocations: 0.6949 MB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.01188, allocations: 8.031 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.01204, allocations: 76.64 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.0124, allocations: 215.8 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.01243, allocations: 29.38 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.01249, allocations: 40.36 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.01313, allocations: 319.6 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.01315, allocations: 192 / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.01319, allocations: 12.38 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.933e-05/0.01327, allocations: 48.91 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.01376, allocations: 221.8 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.01537, allocations: 0.9059 MB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.01574, allocations: 139 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.01585, allocations: 39.67 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.01589, allocations: 7.984 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.01592, allocations: 41.39 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.625e-06/0.01593, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005439/0.01647, allocations: 190.6 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.01651, allocations: 55.41 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.0167, allocations: 208.7 kB / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.01673, allocations: 25.7 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.01686, allocations: 275.1 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.01695, allocations: 79.31 kB / 387.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01705, allocations: 55.34 kB / 387.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.01721, allocations: 0.504 MB / 387.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.01732, allocations: 27.97 kB / 387.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01743, allocations: 34.73 kB / 387.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.01767, allocations: 91.59 kB / 387.8 MB, free: 8.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01768, allocations: 4 kB / 387.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003553/0.01803, allocations: 160.5 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01805, allocations: 4 kB / 387.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.01806, allocations: 3.984 kB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.01808, allocations: 8 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.01874, allocations: 159.9 kB / 388.1 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.02257, allocations: 8.137 MB / 396.2 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.0227, allocations: 11.95 kB / 396.2 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.02273, allocations: 11.98 kB / 396.3 MB, free: 120 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.0001897/0.02292, allocations: 168.5 kB / 396.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.02299, allocations: 27.78 kB / 396.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005247/0.02352, allocations: 250.7 kB / 396.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.02352, allocations: 8 kB / 396.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.02352, allocations: 0 / 396.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.02353, allocations: 0 / 396.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.02391, allocations: 292.4 kB / 397 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.02392, allocations: 0 / 397 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.02452, allocations: 159.9 kB / 397.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.02453, allocations: 3.984 kB / 397.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.02456, allocations: 8 kB / 397.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.02814, allocations: 8.141 MB / 405.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.02814, allocations: 0 / 405.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.02859, allocations: 322.1 kB / 405.6 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.02862, allocations: 11.91 kB / 405.6 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.02866, allocations: 8 kB / 405.6 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.02881, allocations: 11.98 kB / 405.6 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.02889, allocations: 23.95 kB / 405.7 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.02892, allocations: 8 kB / 405.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.094e-05/0.02901, allocations: 156.1 kB / 405.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02901, allocations: 0 / 405.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005202/0.02953, allocations: 127.5 kB / 406 MB, free: 6.098 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.0002792/0.02981, allocations: 135.1 kB / 406.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008102/0.03062, allocations: 243.4 kB / 406.3 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03062, allocations: 0 / 406.3 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.03123, allocations: 214.2 kB / 406.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.03158, allocations: 35.38 kB / 406.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.0334, allocations: 0.651 MB / 407.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.03352, allocations: 135.9 kB / 407.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.03366, allocations: 45.42 kB / 407.4 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.03374, allocations: 24.48 kB / 407.4 MB, free: 4.566 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.03374, allocations: 0 / 407.4 MB, free: 4.566 MB / 378.7 MB Notification: Performance of Templates: time 0.01035/0.04409, allocations: 5.01 MB / 412.4 MB, free: 15.67 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.5262545216828585]